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

Unified Diff: Source/bindings/v8/custom/V8BlobCustomHelpers.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
Index: Source/bindings/v8/custom/V8BlobCustomHelpers.cpp
diff --git a/Source/bindings/v8/custom/V8BlobCustomHelpers.cpp b/Source/bindings/v8/custom/V8BlobCustomHelpers.cpp
index 4511af6fb5086b4c4e301bf4c492e7333bd6b321..c7d381be47b1ad0c5b91f95c4a931a7dd7c67483 100644
--- a/Source/bindings/v8/custom/V8BlobCustomHelpers.cpp
+++ b/Source/bindings/v8/custom/V8BlobCustomHelpers.cpp
@@ -114,15 +114,15 @@ bool processBlobParts(v8::Local<v8::Object> blobParts, uint32_t blobPartsLength,
if (item.IsEmpty())
return false;
- if (V8ArrayBuffer::hasInstance(item, isolate, worldType(isolate))) {
+ if (V8ArrayBuffer::hasInstance(item, isolate)) {
ArrayBuffer* arrayBuffer = V8ArrayBuffer::toNative(v8::Handle<v8::Object>::Cast(item));
ASSERT(arrayBuffer);
blobData.appendArrayBuffer(arrayBuffer);
- } else if (V8ArrayBufferView::hasInstance(item, isolate, worldType(isolate))) {
+ } else if (V8ArrayBufferView::hasInstance(item, isolate)) {
ArrayBufferView* arrayBufferView = V8ArrayBufferView::toNative(v8::Handle<v8::Object>::Cast(item));
ASSERT(arrayBufferView);
blobData.appendArrayBufferView(arrayBufferView);
- } else if (V8Blob::hasInstance(item, isolate, worldType(isolate))) {
+ } else if (V8Blob::hasInstance(item, isolate)) {
Blob* blob = V8Blob::toNative(v8::Handle<v8::Object>::Cast(item));
ASSERT(blob);
blob->appendTo(blobData);
« no previous file with comments | « Source/bindings/v8/custom/V8ArrayBufferViewCustom.h ('k') | Source/bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698