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

Unified Diff: third_party/WebKit/Source/modules/mediastream/RTCDataChannel.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/mediastream/RTCDataChannel.cpp
diff --git a/third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp b/third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp
index 208fd6929e892f123eca7c0f717cea8053e13176..e054159b48fa66e7f0baded20dda34d587a2fde4 100644
--- a/third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp
+++ b/third_party/WebKit/Source/modules/mediastream/RTCDataChannel.cpp
@@ -99,7 +99,7 @@ void RTCDataChannel::dispose()
// Promptly clears a raw reference from content/ to an on-heap object
// so that content/ doesn't access it in a lazy sweeping phase.
m_handler->setClient(nullptr);
- m_handler.clear();
+ m_handler.reset();
}
RTCDataChannel::ReadyState RTCDataChannel::getHandlerState() const
@@ -329,7 +329,7 @@ void RTCDataChannel::stop()
m_stopped = true;
m_handler->setClient(nullptr);
- m_handler.clear();
+ m_handler.reset();
}
// ActiveScriptWrappable

Powered by Google App Engine
This is Rietveld 408576698