Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Unified Diff: Source/WebKit/chromium/src/WebDevToolsAgentImpl.cpp

Issue 18729002: Enable message delivering in inspector-protocol tests when on pause (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/WebKit/chromium/src/WebDevToolsAgentImpl.cpp
diff --git a/Source/WebKit/chromium/src/WebDevToolsAgentImpl.cpp b/Source/WebKit/chromium/src/WebDevToolsAgentImpl.cpp
index df2fc72cbc6a44a8b0e99561e5a7a32d05904f53..eade94a35d16669abedf704069e5110287a025fb 100644
--- a/Source/WebKit/chromium/src/WebDevToolsAgentImpl.cpp
+++ b/Source/WebKit/chromium/src/WebDevToolsAgentImpl.cpp
@@ -90,7 +90,7 @@ public:
return;
OwnPtr<ClientMessageLoopAdapter> instance = adoptPtr(new ClientMessageLoopAdapter(adoptPtr(client->createClientMessageLoop())));
s_instance = instance.get();
- PageScriptDebugServer::shared().setClientMessageLoop(instance.release());
+ PageScriptDebugServer::setClientMessageLoop(instance.release());
}
static void inspectedViewClosed(WebViewImpl* view)
@@ -363,6 +363,7 @@ WebDevToolsAgentImpl::WebDevToolsAgentImpl(
, m_attached(false)
{
ASSERT(m_hostId > 0);
+ ClientMessageLoopAdapter::ensureClientMessageLoopCreated(m_client);
yurys 2013/07/08 11:13:04 Why do you need it to be initialized when there is
}
WebDevToolsAgentImpl::~WebDevToolsAgentImpl()
« no previous file with comments | « no previous file | Source/bindings/v8/PageScriptDebugServer.h » ('j') | Source/bindings/v8/PageScriptDebugServer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698