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

Unified Diff: Source/modules/mediasource/WebKitSourceBuffer.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
« no previous file with comments | « Source/modules/mediasource/SourceBuffer.cpp ('k') | Source/modules/mediastream/MediaStreamEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediasource/WebKitSourceBuffer.cpp
diff --git a/Source/modules/mediasource/WebKitSourceBuffer.cpp b/Source/modules/mediasource/WebKitSourceBuffer.cpp
index 992f11ebdbc2e194aaf46005bfee3579c8ec0ca8..fa82ac6c118ab30a7fc3426231b03a012401edcc 100644
--- a/Source/modules/mediasource/WebKitSourceBuffer.cpp
+++ b/Source/modules/mediasource/WebKitSourceBuffer.cpp
@@ -79,7 +79,7 @@ PassRefPtr<TimeRanges> WebKitSourceBuffer::buffered(ExceptionState& exceptionSta
// 1. If this object has been removed from the sourceBuffers attribute of the parent media source then throw an
// InvalidStateError exception and abort these steps.
if (throwExceptionIfRemoved(isRemoved(), exceptionState))
- return 0;
+ return nullptr;
// 2. Return a new static normalized TimeRanges object for the media segments buffered.
return TimeRanges::create(m_webSourceBuffer->buffered());
« no previous file with comments | « Source/modules/mediasource/SourceBuffer.cpp ('k') | Source/modules/mediastream/MediaStreamEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698