| Index: webkit/tools/test_shell/test_shell_devtools_agent.cc
|
| diff --git a/webkit/tools/test_shell/test_shell_devtools_agent.cc b/webkit/tools/test_shell/test_shell_devtools_agent.cc
|
| index 836916faa4c7ea5cc4c06b21a93bc394b8a096b7..4604bfc74d5c8c630cdbffdef5daac6f46212bbd 100644
|
| --- a/webkit/tools/test_shell/test_shell_devtools_agent.cc
|
| +++ b/webkit/tools/test_shell/test_shell_devtools_agent.cc
|
| @@ -43,23 +43,11 @@ class WebKitClientMessageLoopImpl
|
|
|
| } // namespace
|
|
|
| -// static
|
| -void TestShellDevToolsAgent::DispatchMessageLoop() {
|
| - MessageLoop* current = MessageLoop::current();
|
| - bool old_state = current->NestableTasksAllowed();
|
| - current->SetNestableTasksAllowed(true);
|
| - current->RunAllPending();
|
| - current->SetNestableTasksAllowed(old_state);
|
| -}
|
| -
|
| TestShellDevToolsAgent::TestShellDevToolsAgent()
|
| : ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)),
|
| dev_tools_client_(NULL) {
|
| static int dev_tools_agent_counter;
|
| routing_id_ = ++dev_tools_agent_counter;
|
| - if (routing_id_ == 1)
|
| - WebDevToolsAgent::setMessageLoopDispatchHandler(
|
| - &TestShellDevToolsAgent::DispatchMessageLoop);
|
| }
|
|
|
| TestShellDevToolsAgent::~TestShellDevToolsAgent() {
|
|
|