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

Unified Diff: third_party/WebKit/Source/modules/fetch/CrossThreadHolder.h

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/fetch/CrossThreadHolder.h
diff --git a/third_party/WebKit/Source/modules/fetch/CrossThreadHolder.h b/third_party/WebKit/Source/modules/fetch/CrossThreadHolder.h
index f56dd201823c2bd9364cb48b54014e64f77c86b0..9492ba1fc109f26fdd64720c8c4c31f5ecdd43d5 100644
--- a/third_party/WebKit/Source/modules/fetch/CrossThreadHolder.h
+++ b/third_party/WebKit/Source/modules/fetch/CrossThreadHolder.h
@@ -141,7 +141,7 @@ private:
// We have to destruct |*m_obj| here because destructing |*m_obj|
// in ~Bridge() might be too late when |executionContext| is
// stopped.
- m_obj.clear();
+ m_obj.reset();
}

Powered by Google App Engine
This is Rietveld 408576698