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

Unified Diff: third_party/WebKit/Source/core/loader/WorkerThreadableLoader.h

Issue 2622223002: Call MainThreadLoaderHolder::cancel as a pre-finalizer (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/WorkerThreadableLoader.h
diff --git a/third_party/WebKit/Source/core/loader/WorkerThreadableLoader.h b/third_party/WebKit/Source/core/loader/WorkerThreadableLoader.h
index a9992dfc60d4130f45528e82b2f8e0a1f13c483e..768e0aa8155d6b02fe7e3e602735b3b94f7691b0 100644
--- a/third_party/WebKit/Source/core/loader/WorkerThreadableLoader.h
+++ b/third_party/WebKit/Source/core/loader/WorkerThreadableLoader.h
@@ -137,6 +137,7 @@ class WorkerThreadableLoader final : public ThreadableLoader {
public ThreadableLoaderClient,
public WorkerThreadLifecycleObserver {
USING_GARBAGE_COLLECTED_MIXIN(MainThreadLoaderHolder);
+ USING_PRE_FINALIZER(MainThreadLoaderHolder, cancel);
public:
static void createAndStart(WorkerThreadableLoader*,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698