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

Unified Diff: Source/web/WebDOMMediaStreamTrack.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/web/WebDOMEvent.cpp ('k') | Source/web/WebFontImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebDOMMediaStreamTrack.cpp
diff --git a/Source/web/WebDOMMediaStreamTrack.cpp b/Source/web/WebDOMMediaStreamTrack.cpp
index a5767f5b5e6cd042b55d12592396d90438ba50b7..d576d44f39c651b919ba96d36fd23af22574d5f9 100644
--- a/Source/web/WebDOMMediaStreamTrack.cpp
+++ b/Source/web/WebDOMMediaStreamTrack.cpp
@@ -47,12 +47,11 @@ WebDOMMediaStreamTrack WebDOMMediaStreamTrack::fromV8Value(v8::Handle<v8::Value>
v8::Handle<v8::Object> object = v8::Handle<v8::Object>::Cast(value);
return WebDOMMediaStreamTrack(WebCore::V8MediaStreamTrack::toNative(object));
}
- return WebDOMMediaStreamTrack(0);
+ return WebDOMMediaStreamTrack(nullptr);
}
void WebDOMMediaStreamTrack::reset()
{
- // FIXME: replace reset() with nullptr assignment (cf. https://codereview.chromium.org/170603003/ )
m_private.reset();
}
« no previous file with comments | « Source/web/WebDOMEvent.cpp ('k') | Source/web/WebFontImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698