| Index: chrome/browser/in_process_webkit/webkit_thread.cc
|
| diff --git a/chrome/browser/in_process_webkit/webkit_thread.cc b/chrome/browser/in_process_webkit/webkit_thread.cc
|
| index b2b469ba332a1311a4e7bf2bfa25f12bc83b802e..24574b20ea846bdcb86851b4ac562fe15152b5c0 100644
|
| --- a/chrome/browser/in_process_webkit/webkit_thread.cc
|
| +++ b/chrome/browser/in_process_webkit/webkit_thread.cc
|
| @@ -8,6 +8,7 @@
|
| #include "chrome/browser/in_process_webkit/browser_webkitclient_impl.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h"
|
| +#include "webkit/glue/webkit_glue.h"
|
|
|
| WebKitThread::WebKitThread() {
|
| }
|
| @@ -46,6 +47,10 @@ void WebKitThread::InternalWebKitThread::Init() {
|
| DCHECK(!webkit_client_.get());
|
| webkit_client_.reset(new BrowserWebKitClientImpl);
|
| WebKit::initialize(webkit_client_.get());
|
| + webkit_glue::EnableWebCoreLogChannels(
|
| + CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
|
| + switches::kWebCoreLogChannels));
|
| +
|
| // If possible, post initialization tasks to this thread (rather than doing
|
| // them now) so we don't block the UI thread any longer than we have to.
|
| }
|
|
|