Index: Source/web/WebDOMMediaStreamTrack.cpp |
diff --git a/Source/web/WebDOMMediaStreamTrack.cpp b/Source/web/WebDOMMediaStreamTrack.cpp |
index 82d64ec26ec9f121dedbab4ca92047217a6507e9..a5767f5b5e6cd042b55d12592396d90438ba50b7 100644 |
--- a/Source/web/WebDOMMediaStreamTrack.cpp |
+++ b/Source/web/WebDOMMediaStreamTrack.cpp |
@@ -52,7 +52,8 @@ WebDOMMediaStreamTrack WebDOMMediaStreamTrack::fromV8Value(v8::Handle<v8::Value> |
void WebDOMMediaStreamTrack::reset() |
{ |
- m_private = 0; |
+ // FIXME: replace reset() with nullptr assignment (cf. https://codereview.chromium.org/170603003/ ) |
+ m_private.reset(); |
} |
void WebDOMMediaStreamTrack::assign(const WebDOMMediaStreamTrack& b) |