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; |
} |
} |