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

Unified Diff: Source/core/platform/chromium/support/WebArrayBuffer.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/bindings/v8/custom/V8XMLHttpRequestCustom.cpp ('k') | Source/web/WebArrayBufferConverter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/chromium/support/WebArrayBuffer.cpp
diff --git a/Source/core/platform/chromium/support/WebArrayBuffer.cpp b/Source/core/platform/chromium/support/WebArrayBuffer.cpp
index 05429fe8fa0f75ad9177b7d29112ce4612596154..b3200d864e90fa6f3abc0a14d5fece47d2bd37f6 100644
--- a/Source/core/platform/chromium/support/WebArrayBuffer.cpp
+++ b/Source/core/platform/chromium/support/WebArrayBuffer.cpp
@@ -78,7 +78,7 @@ v8::Handle<v8::Value> WebArrayBuffer::toV8Value()
WebArrayBuffer* WebArrayBuffer::createFromV8Value(v8::Handle<v8::Value> value)
{
- if (!V8ArrayBuffer::hasInstanceInAnyWorld(value, v8::Isolate::GetCurrent()))
+ if (!V8ArrayBuffer::hasInstance(value, v8::Isolate::GetCurrent()))
return 0;
WTF::ArrayBuffer* buffer = V8ArrayBuffer::toNative(value->ToObject());
return new WebArrayBuffer(buffer);
« no previous file with comments | « Source/bindings/v8/custom/V8XMLHttpRequestCustom.cpp ('k') | Source/web/WebArrayBufferConverter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698