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

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

Issue 2007983006: Rename OwnPtr::clear() to reset() in modules/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 c8cbc89f939a44f9d83f04a88d5e2a0046f1690e..41f05f7d18cd470bf0796780befc46d748e5ddb3 100644
--- a/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp
+++ b/third_party/WebKit/Source/modules/notifications/NotificationImageLoader.cpp
@@ -68,7 +68,7 @@ void NotificationImageLoader::stop()
// 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.clear();
+ m_threadableLoader.reset();
}
}

Powered by Google App Engine
This is Rietveld 408576698