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

Unified Diff: Source/web/WebDOMMediaStreamTrack.cpp

Issue 125043004: Remove world type from hasInstance() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/WebDOMFileSystem.cpp ('k') | no next file » | 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 5bfdff44c02ac3b4244fc6fc1e81217289ceb9b0..82d64ec26ec9f121dedbab4ca92047217a6507e9 100644
--- a/Source/web/WebDOMMediaStreamTrack.cpp
+++ b/Source/web/WebDOMMediaStreamTrack.cpp
@@ -43,7 +43,7 @@ WebDOMMediaStreamTrack::WebDOMMediaStreamTrack(PassRefPtr<WebCore::MediaStreamTr
WebDOMMediaStreamTrack WebDOMMediaStreamTrack::fromV8Value(v8::Handle<v8::Value> value)
{
- if (WebCore::V8MediaStreamTrack::hasInstanceInAnyWorld(value, v8::Isolate::GetCurrent())) {
+ if (WebCore::V8MediaStreamTrack::hasInstance(value, v8::Isolate::GetCurrent())) {
v8::Handle<v8::Object> object = v8::Handle<v8::Object>::Cast(value);
return WebDOMMediaStreamTrack(WebCore::V8MediaStreamTrack::toNative(object));
}
« no previous file with comments | « Source/web/WebDOMFileSystem.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698