summaryrefslogtreecommitdiffstats
path: root/lib/web_engine_context.cpp
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2013-07-29 12:44:05 +0200
committerJocelyn Turcotte <jocelyn.turcotte@digia.com>2013-07-29 17:37:38 +0200
commitc4083f0d8b06f7ede95968a010153fcc49f8d51c (patch)
tree3240df019925374ff9c7b7d5cef12bda19c8c89c /lib/web_engine_context.cpp
parent3eafa06b9cafed784ca5affa7c6c9460cce32259 (diff)
Fix the GPU process launch.
base::FILE_EXE isn't used by this process and we therefore also need to set the kBrowserSubprocessPath switch. Change-Id: I5a5e721c765cc1990d155f6c6d9ac1b442dc44b0 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'lib/web_engine_context.cpp')
-rw-r--r--lib/web_engine_context.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/web_engine_context.cpp b/lib/web_engine_context.cpp
index 2982b2501..67202a9c2 100644
--- a/lib/web_engine_context.cpp
+++ b/lib/web_engine_context.cpp
@@ -125,6 +125,7 @@ WebEngineContext::WebEngineContext()
CommandLine* parsedCommandLine = CommandLine::ForCurrentProcess();
parsedCommandLine->AppendSwitchASCII(switches::kUserAgent, webkit_glue::BuildUserAgentFromProduct("QtWebEngine/0.1"));
+ parsedCommandLine->AppendSwitchASCII(switches::kBrowserSubprocessPath, subProcessPath().constData());
parsedCommandLine->AppendSwitch(switches::kNoSandbox);
parsedCommandLine->AppendSwitch(switches::kDisablePlugins);