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

Unified Diff: Source/core/html/shadow/MediaControls.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/core/html/shadow/MediaControlElements.cpp ('k') | Source/core/html/shadow/SliderThumbElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/MediaControls.cpp
diff --git a/Source/core/html/shadow/MediaControls.cpp b/Source/core/html/shadow/MediaControls.cpp
index bb3c8c2befcdad3a5a36532af4214bbfbd7b8fa0..03614cb8dbac52a68bc7e9f5c7cc47121333da12 100644
--- a/Source/core/html/shadow/MediaControls.cpp
+++ b/Source/core/html/shadow/MediaControls.cpp
@@ -59,7 +59,7 @@ MediaControls::MediaControls(Document& document)
PassRefPtr<MediaControls> MediaControls::create(Document& document)
{
if (!document.page())
- return 0;
+ return nullptr;
RefPtr<MediaControls> controls;
#if OS(ANDROID)
@@ -71,7 +71,7 @@ PassRefPtr<MediaControls> MediaControls::create(Document& document)
if (controls->initializeControls(document))
return controls.release();
- return 0;
+ return nullptr;
}
bool MediaControls::initializeControls(Document& document)
« no previous file with comments | « Source/core/html/shadow/MediaControlElements.cpp ('k') | Source/core/html/shadow/SliderThumbElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698