| Index: third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
|
| index 7b5a6e3e5d421427f64a413d15d0568764db9d90..f96a8f510cb7b8595f7db8ce94b8799684b5b7b5 100644
|
| --- a/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp
|
| @@ -65,8 +65,8 @@
|
| #include "modules/indexeddb/InspectorIndexedDBAgent.h"
|
| #include "modules/storage/InspectorDOMStorageAgent.h"
|
| #include "modules/webdatabase/InspectorDatabaseAgent.h"
|
| +#include "platform/CrossThreadFunctional.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| -#include "platform/ThreadSafeFunctional.h"
|
| #include "platform/TraceEvent.h"
|
| #include "platform/graphics/GraphicsContext.h"
|
| #include "platform/graphics/paint/PaintController.h"
|
| @@ -662,7 +662,7 @@ void WebDevToolsAgentImpl::runDebuggerTask(int sessionId, std::unique_ptr<WebDev
|
| void WebDevToolsAgent::interruptAndDispatch(int sessionId, MessageDescriptor* rawDescriptor)
|
| {
|
| // rawDescriptor can't be a std::unique_ptr because interruptAndDispatch is a WebKit API function.
|
| - MainThreadDebugger::interruptMainThreadAndRun(threadSafeBind(WebDevToolsAgentImpl::runDebuggerTask, sessionId, passed(wrapUnique(rawDescriptor))));
|
| + MainThreadDebugger::interruptMainThreadAndRun(crossThreadBind(WebDevToolsAgentImpl::runDebuggerTask, sessionId, passed(wrapUnique(rawDescriptor))));
|
| }
|
|
|
| bool WebDevToolsAgent::shouldInterruptForMethod(const WebString& method)
|
|
|