Index: Source/bindings/v8/custom/V8BlobCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8BlobCustom.cpp b/Source/bindings/v8/custom/V8BlobCustom.cpp |
index 6f3c0aaa23210332c2ea0470d6a3d80737d50103..9a4646dbc30c105a6ab13bf4f4a19e5625ecaaa3 100644 |
--- a/Source/bindings/v8/custom/V8BlobCustom.cpp |
+++ b/Source/bindings/v8/custom/V8BlobCustom.cpp |
@@ -111,13 +111,12 @@ void V8Blob::constructorCustom(const v8::FunctionCallbackInfo<v8::Value>& args) |
ArrayBufferView* arrayBufferView = V8ArrayBufferView::toNative(v8::Handle<v8::Object>::Cast(item)); |
ASSERT(arrayBufferView); |
blobBuilder.append(arrayBufferView); |
- } else |
- if (V8Blob::HasInstance(item, args.GetIsolate(), worldType(args.GetIsolate()))) { |
+ } else if (V8Blob::HasInstance(item, args.GetIsolate(), worldType(args.GetIsolate()))) { |
Blob* blob = V8Blob::toNative(v8::Handle<v8::Object>::Cast(item)); |
ASSERT(blob); |
blobBuilder.append(blob); |
} else { |
- V8TRYCATCH_VOID(String, stringValue, toWebCoreString(item)); |
+ V8TRYCATCH_FOR_V8STRINGRESOURCE_VOID(V8StringResource<>, stringValue, item); |
blobBuilder.append(stringValue, endings); |
} |
} |