| Index: chrome/worker/worker_thread.cc
|
| diff --git a/chrome/worker/worker_thread.cc b/chrome/worker/worker_thread.cc
|
| index 90bf9b67874248f9a28c5422877ffa41e62e0206..951a80fb97cc3f9649283119009a94d4b4ac37df 100644
|
| --- a/chrome/worker/worker_thread.cc
|
| +++ b/chrome/worker/worker_thread.cc
|
| @@ -20,6 +20,7 @@
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebDatabase.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h"
|
| +#include "webkit/glue/webkit_glue.h"
|
|
|
| using WebKit::WebRuntimeFeatures;
|
|
|
| @@ -41,6 +42,9 @@ WorkerThread::WorkerThread() {
|
|
|
| const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
|
|
| + webkit_glue::EnableWebCoreLogChannels(
|
| + command_line.GetSwitchValueASCII(switches::kWebCoreLogChannels));
|
| +
|
| WebKit::WebRuntimeFeatures::enableDatabase(
|
| !command_line.HasSwitch(switches::kDisableDatabases));
|
|
|
|
|