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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerInspectorProxy.h

Issue 1549143002: Add thread affinity and ASSERT() for same-thread restriction to WTF::Function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@TRV_ThreadSafeBindByVariadicTemplate
Patch Set: Created 4 years, 10 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: third_party/WebKit/Source/core/workers/WorkerInspectorProxy.h
diff --git a/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.h b/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.h
index be67360322601986a12c77535deecd83be10dc7b..f3220f1a571ff62b233966e67742317aa47740cd 100644
--- a/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.h
+++ b/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.h
@@ -51,7 +51,7 @@ public:
private:
WorkerInspectorProxy();
- void addDebuggerTaskForWorker(const WebTraceLocation&, PassOwnPtr<Closure>);
+ void addDebuggerTaskForWorker(const WebTraceLocation&, PassOwnPtr<CrossThreadClosure>);
WorkerThread* m_workerThread;
RawPtrWillBeMember<ExecutionContext> m_executionContext;

Powered by Google App Engine
This is Rietveld 408576698