From b9dc6fc3df7d66ca519b4b12b31f0b68297da84c Mon Sep 17 00:00:00 2001 From: Zeno Albisser Date: Tue, 20 May 2014 10:49:07 +0200 Subject: Buildfix after Iacc6cff82c0f071d1c8901977748d6164fb0a87d. We only do have the scoped_ptr m_surfaceFactory on Android. Change-Id: Ia377afa9a8662498fca005994bd5fbec5c41bc9e Reviewed-by: Andras Becsi --- src/core/web_engine_context.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/web_engine_context.cpp') diff --git a/src/core/web_engine_context.cpp b/src/core/web_engine_context.cpp index 05075b76c..ff433027e 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()); -- cgit v1.2.3