diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-05 20:09:03 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-05 20:09:03 +0000 |
commit | a92b5f308637f693215b41193657b5b4a1bca318 (patch) | |
tree | 623cb2c1fabdf4e649a7a4602033ad1e0b722d92 | |
parent | c179bb25bfbecb7f3f4944d05cab10ec30ab9f2b (diff) | |
download | chromium_src-a92b5f308637f693215b41193657b5b4a1bca318.zip chromium_src-a92b5f308637f693215b41193657b5b4a1bca318.tar.gz chromium_src-a92b5f308637f693215b41193657b5b4a1bca318.tar.bz2 |
Revert 113001 - Ensure that webkit is initialized before calling into it from devtools agent filter
BUG=none
TEST=happier avi (and tree)
Review URL: http://codereview.chromium.org/8802016
TBR=jochen@chromium.org
Review URL: http://codereview.chromium.org/8803020
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113003 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | content/renderer/devtools_agent_filter.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/content/renderer/devtools_agent_filter.cc b/content/renderer/devtools_agent_filter.cc index 69b5298..4e42ce3 100644 --- a/content/renderer/devtools_agent_filter.cc +++ b/content/renderer/devtools_agent_filter.cc @@ -9,7 +9,6 @@ #include "content/common/devtools_messages.h" #include "content/renderer/devtools_agent.h" #include "content/renderer/plugin_channel_host.h" -#include "content/renderer/render_thread.h" #include "third_party/WebKit/Source/WebKit/chromium/public/WebDevToolsAgent.h" #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" @@ -69,7 +68,6 @@ void DevToolsAgentFilter::OnFilterAdded(IPC::Channel* channel) { void DevToolsAgentFilter::OnDispatchOnInspectorBackend( const std::string& message) { - RenderThread::current()->EnsureWebKitInitialized(); if (!WebDevToolsAgent::shouldInterruptForMessage( WebString::fromUTF8(message))) { message_handled_ = false; |