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

Unified Diff: Source/web/WebDevToolsAgentImpl.cpp

Issue 1163923005: Fix crash in inspector-protocol/debugger/debugger-pause-dedicated-worker.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed printf Created 5 years, 7 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
« no previous file with comments | « Source/core/inspector/WorkerInspectorController.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDevToolsAgentImpl.cpp
diff --git a/Source/web/WebDevToolsAgentImpl.cpp b/Source/web/WebDevToolsAgentImpl.cpp
index de01514a84236b958f8488a9a77a5c1c0dbd443f..4b602a97586a874c7066250f9db82d1f066e8f93 100644
--- a/Source/web/WebDevToolsAgentImpl.cpp
+++ b/Source/web/WebDevToolsAgentImpl.cpp
@@ -60,6 +60,7 @@
#include "core/inspector/InspectorProfilerAgent.h"
#include "core/inspector/InspectorResourceAgent.h"
#include "core/inspector/InspectorState.h"
+#include "core/inspector/InspectorTaskRunner.h"
#include "core/inspector/InspectorTimelineAgent.h"
#include "core/inspector/InspectorTracingAgent.h"
#include "core/inspector/InspectorWorkerAgent.h"
@@ -249,7 +250,7 @@ public:
}
};
-class DebuggerTask : public V8Debugger::Task {
+class DebuggerTask : public InspectorTaskRunner::Task {
public:
DebuggerTask(PassOwnPtr<WebDevToolsAgent::MessageDescriptor> descriptor)
: m_descriptor(descriptor)
@@ -633,7 +634,7 @@ void WebDevToolsAgentImpl::dispatchOnInspectorBackend(const WebString& message)
if (!m_attached)
return;
if (WebDevToolsAgent::shouldInterruptForMessage(message))
- MainThreadDebugger::instance()->debugger()->runPendingTasks();
+ MainThreadDebugger::instance()->taskRunner()->runPendingTasks();
else
dispatchMessageFromFrontend(message);
}
« no previous file with comments | « Source/core/inspector/WorkerInspectorController.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698