summaryrefslogtreecommitdiffstats
path: root/src/core/web_engine_context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/web_engine_context.cpp')
-rw-r--r--src/core/web_engine_context.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp
index b830110a7..10d6bdd74 100644
--- a/src/core/web_engine_context.cpp
+++ b/src/core/web_engine_context.cpp
@@ -214,13 +214,6 @@ WebEngineContext::WebEngineContext()
parsedCommandLine->AppendSwitchASCII(switches::kProfilerTiming, switches::kProfilerTimingDisabledValue);
#endif
-#if defined(OS_ANDROID)
- // On eAndroid we use this to get the native display
- // from Qt in GLSurfaceEGL::InitializeOneOff.
- m_surfaceFactory.reset(new SurfaceFactoryQt());
- parsedCommandLine->AppendSwitch(switches::kDisableOverscrollEdgeEffect);
-#endif
-
GLContextHelper::initialize();
if (usingANGLE() || usingSoftwareDynamicGL() || usingQtQuick2DRenderer()) {