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

Unified Diff: Source/modules/mediasource/SourceBuffer.cpp

Issue 170603003: Use nullptr_t for RefPtr, PassRefPtr and RawPtr. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final rebase Created 6 years, 10 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: Source/modules/mediasource/SourceBuffer.cpp
diff --git a/Source/modules/mediasource/SourceBuffer.cpp b/Source/modules/mediasource/SourceBuffer.cpp
index 94f308bed0b1db8906de35e1ef46567dba2870a4..64e8021bd5204ef9799a3085f9a849c9b44815d9 100644
--- a/Source/modules/mediasource/SourceBuffer.cpp
+++ b/Source/modules/mediasource/SourceBuffer.cpp
@@ -163,7 +163,7 @@ PassRefPtr<TimeRanges> SourceBuffer::buffered(ExceptionState& exceptionState) co
// InvalidStateError exception and abort these steps.
if (isRemoved()) {
exceptionState.throwDOMException(InvalidStateError, "This SourceBuffer has been removed from the parent media source.");
- return 0;
+ return nullptr;
}
// 2. Return a new static normalized TimeRanges object for the media segments buffered.
@@ -430,7 +430,7 @@ void SourceBuffer::removedFromMediaSource()
m_webSourceBuffer->removedFromMediaSource();
m_webSourceBuffer.clear();
- m_source = 0;
+ m_source = nullptr;
m_asyncEventQueue = 0;
}
@@ -677,7 +677,7 @@ void SourceBuffer::clearAppendStreamState()
m_streamMaxSizeValid = false;
m_streamMaxSize = 0;
m_loader.clear();
- m_stream = 0;
+ m_stream = nullptr;
}
void SourceBuffer::didStartLoading()
« no previous file with comments | « Source/modules/indexeddb/InspectorIndexedDBAgent.cpp ('k') | Source/modules/mediasource/WebKitSourceBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698