summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZeno Albisser <zeno.albisser@digia.com>2014-05-20 10:49:07 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-05-20 11:51:04 +0200
commitb9dc6fc3df7d66ca519b4b12b31f0b68297da84c (patch)
tree560e4fdc061ac1a8bf437ec52dd8fd2eae67c5c8
parent09be381c3e7cb0fd72ea4a22dffd6b546304da3e (diff)
Buildfix after Iacc6cff82c0f071d1c8901977748d6164fb0a87d.
We only do have the scoped_ptr m_surfaceFactory on Android. Change-Id: Ia377afa9a8662498fca005994bd5fbec5c41bc9e Reviewed-by: Andras Becsi <andras.becsi@digia.com>
-rw-r--r--src/core/web_engine_context.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp
index 05075b76..ff433027 100644
--- a/src/core/web_engine_context.cpp
+++ b/src/core/web_engine_context.cpp
@@ -160,7 +160,9 @@ WebEngineContext::WebEngineContext()
parsedCommandLine->AppendSwitch(cc::switches::kDisableCompositedAntialiasing);
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());