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

Unified Diff: Source/web/WebDOMMediaStreamTrack.cpp

Issue 168963003: Make WebPrivatePtr capable of wrapping garbage collected objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use vegorov's trait-based WebPrivatePtr instead; much better. 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/web/WebDOMMediaStreamTrack.cpp
diff --git a/Source/web/WebDOMMediaStreamTrack.cpp b/Source/web/WebDOMMediaStreamTrack.cpp
index 82d64ec26ec9f121dedbab4ca92047217a6507e9..033c40953177e6af86f191bdd088740a197b2e11 100644
--- a/Source/web/WebDOMMediaStreamTrack.cpp
+++ b/Source/web/WebDOMMediaStreamTrack.cpp
@@ -52,7 +52,7 @@ WebDOMMediaStreamTrack WebDOMMediaStreamTrack::fromV8Value(v8::Handle<v8::Value>
void WebDOMMediaStreamTrack::reset()
{
- m_private = 0;
+ m_private.reset();
}
void WebDOMMediaStreamTrack::assign(const WebDOMMediaStreamTrack& b)

Powered by Google App Engine
This is Rietveld 408576698