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

Unified Diff: third_party/WebKit/Source/modules/mediasource/MediaSource.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/mediasource/MediaSource.cpp
diff --git a/third_party/WebKit/Source/modules/mediasource/MediaSource.cpp b/third_party/WebKit/Source/modules/mediasource/MediaSource.cpp
index 73fff60cd670345fe18f54e123a30708d1ea5246..dc49fa5f3adbe5414214dc8ad1662c2dc1584551 100644
--- a/third_party/WebKit/Source/modules/mediasource/MediaSource.cpp
+++ b/third_party/WebKit/Source/modules/mediasource/MediaSource.cpp
@@ -450,7 +450,7 @@ void MediaSource::setReadyState(const AtomicString& state)
DVLOG(MEDIA_SOURCE_LOG_LEVEL) << __FUNCTION__ << " : " << oldState << " -> " << state << " " << this;
if (state == closedKeyword()) {
- m_webMediaSource.clear();
+ m_webMediaSource.reset();
}
if (oldState == state)
@@ -574,7 +574,7 @@ void MediaSource::stop()
m_asyncEventQueue->close();
if (!isClosed())
setReadyState(closedKeyword());
- m_webMediaSource.clear();
+ m_webMediaSource.reset();
}
PassOwnPtr<WebSourceBuffer> MediaSource::createWebSourceBuffer(const String& type, const String& codecs, ExceptionState& exceptionState)

Powered by Google App Engine
This is Rietveld 408576698