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

Unified Diff: third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp

Issue 2011783002: Rename OwnPtr::clear() to reset() in platform/. (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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/animation/CompositorFilterKeyframe.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
diff --git a/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp b/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
index a0d4ad3bf5eeb280bffdb72a93bf93799282a70e..6c7f2cdc59892948860ed27437d02258636d9f61 100644
--- a/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
+++ b/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
@@ -42,7 +42,7 @@ WebThreadSupportingGC::~WebThreadSupportingGC()
if (ThreadState::current() && m_owningThread) {
// WebThread's destructor blocks until all the tasks are processed.
SafePointScope scope(BlinkGC::HeapPointersOnStack);
- m_owningThread.clear();
+ m_owningThread.reset();
}
}
@@ -58,7 +58,7 @@ void WebThreadSupportingGC::shutdown()
ThreadState::current()->releaseStaticPersistentNodes();
#endif
// Ensure no posted tasks will run from this point on.
- m_gcTaskRunner.clear();
+ m_gcTaskRunner.reset();
// Shutdown the thread (via its scheduler) only when the thread is created
// and is owned by this instance.
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/animation/CompositorFilterKeyframe.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698