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

Unified Diff: third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp

Issue 2181243002: Move ThreadableLoader to Oilpan heap (2/3) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@onheap-bridge-peer-in-worker-threadable-loader
Patch Set: fix 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/notifications/NotificationImageLoader.cpp
diff --git a/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp b/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp
index 298931c6c9cc0bdeeace13f2f9ff74390874b9ba..530aee3d338b7529ad0aed1f37fa86912648c35f 100644
--- a/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp
+++ b/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp
@@ -65,11 +65,7 @@ void NotificationImageLoader::stop()
m_stopped = true;
if (m_threadableLoader) {
m_threadableLoader->cancel();
- // WorkerThreadableLoader keeps a Persistent<WorkerGlobalScope> to the
- // ExecutionContext it received in |create|. Kill it to prevent
- // reference cycles involving a mix of GC and non-GC types that fail to
- // clear in ThreadState::cleanup.
- m_threadableLoader.reset();
+ m_threadableLoader = nullptr;
}
}

Powered by Google App Engine
This is Rietveld 408576698