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

Unified Diff: Source/web/WebBlob.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/WebBindings.cpp ('k') | Source/web/WebDOMFileSystem.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebBlob.cpp
diff --git a/Source/web/WebBlob.cpp b/Source/web/WebBlob.cpp
index dd5010ca1bf7225c173a4967189d2eb0afd1e25c..4829660370f28676f9836108b2788232775244c8 100644
--- a/Source/web/WebBlob.cpp
+++ b/Source/web/WebBlob.cpp
@@ -51,7 +51,7 @@ WebBlob WebBlob::createFromFile(const WebString& path, long long size)
WebBlob WebBlob::fromV8Value(v8::Handle<v8::Value> value)
{
- if (V8Blob::hasInstanceInAnyWorld(value, v8::Isolate::GetCurrent())) {
+ if (V8Blob::hasInstance(value, v8::Isolate::GetCurrent())) {
v8::Handle<v8::Object> object = v8::Handle<v8::Object>::Cast(value);
Blob* blob = V8Blob::toNative(object);
ASSERT(blob);
« no previous file with comments | « Source/web/WebBindings.cpp ('k') | Source/web/WebDOMFileSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698