summaryrefslogtreecommitdiffstats
path: root/lib/web_engine_context.cpp
diff options
context:
space:
mode:
authorJocelyn Turcotte <jocelyn.turcotte@digia.com>2013-06-12 17:34:38 +0200
committerJocelyn Turcotte <jocelyn.turcotte@digia.com>2013-06-12 17:38:05 +0200
commit30d205d5663ab0baeb571d80f1e4d27981d5b4a1 (patch)
treee43566e2243899707f9fb0821dba5d2afe651461 /lib/web_engine_context.cpp
parent0f0c301265d0acd2ea15769b0930eb4054e54a3d (diff)
Quick cleanup.
Diffstat (limited to 'lib/web_engine_context.cpp')
-rw-r--r--lib/web_engine_context.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/web_engine_context.cpp b/lib/web_engine_context.cpp
index 2f34c24b4..03cbae051 100644
--- a/lib/web_engine_context.cpp
+++ b/lib/web_engine_context.cpp
@@ -118,7 +118,7 @@ int GetTimeIntervalMilliseconds(const base::TimeTicks& from) {
}
class MessagePumpForUIQt : public QObject,
- public base::MessagePump
+ public base::MessagePump
{
public:
MessagePumpForUIQt()
@@ -245,10 +245,7 @@ WebEngineContext::WebEngineContext()
static content::BrowserMainRunner *browserRunner = 0;
if (!browserRunner) {
- //CommandLine::Init(0, 0);
-
browserRunner = content::BrowserMainRunner::Create();
-
browserRunner->Initialize(content::MainFunctionParams(*CommandLine::ForCurrentProcess()));
}