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

Unified Diff: third_party/WebKit/Source/modules/compositorworker/AbstractAnimationWorkletThread.h

Issue 2251903002: Destruct base::Thread before WorkerThread::terminateAndWait returns (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: temp Created 4 years, 4 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/modules/compositorworker/AbstractAnimationWorkletThread.h
diff --git a/third_party/WebKit/Source/modules/compositorworker/AbstractAnimationWorkletThread.h b/third_party/WebKit/Source/modules/compositorworker/AbstractAnimationWorkletThread.h
index deb0f5a87e227aea97421ca5de19a142d6d70564..c805075f9fe8c6aac3e1222ee7ecc061ae6a7f3e 100644
--- a/third_party/WebKit/Source/modules/compositorworker/AbstractAnimationWorkletThread.h
+++ b/third_party/WebKit/Source/modules/compositorworker/AbstractAnimationWorkletThread.h
@@ -21,6 +21,12 @@ public:
~AbstractAnimationWorkletThread() override;
WorkerBackingThread& workerBackingThread() override;
+ void clearWorkerBackingThread() override
+ {
+ // Do nothing.
+ // The backing thread is cleared by clearSharedBackingThread().
+ }
+
bool shouldAttachThreadDebugger() const override { return false; }
static void ensureSharedBackingThread();

Powered by Google App Engine
This is Rietveld 408576698