| Index: Source/bindings/v8/custom/V8BlobCustom.cpp
|
| diff --git a/Source/bindings/v8/custom/V8BlobCustom.cpp b/Source/bindings/v8/custom/V8BlobCustom.cpp
|
| index d514a4eff6a71eb5d36f0cdd090baecd2215bb7e..3674b16d51a943268a301971558ebe3262a53189 100644
|
| --- a/Source/bindings/v8/custom/V8BlobCustom.cpp
|
| +++ b/Source/bindings/v8/custom/V8BlobCustom.cpp
|
| @@ -50,6 +50,7 @@ void V8Blob::constructorCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| }
|
|
|
| v8::Local<v8::Value> firstArg = info[0];
|
| + // FIXME: handle WebIDL sequences, see http://crbug.com/314755
|
| if (!firstArg->IsArray()) {
|
| throwTypeError("First argument of the constructor is not of type Array", info.GetIsolate());
|
| return;
|
| @@ -111,7 +112,7 @@ void V8Blob::constructorCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
|
| }
|
| }
|
|
|
| - RefPtr<Blob> blob = blobBuilder.getBlob(type);
|
| + RefPtr<Blob> blob = blobBuilder.createBlob(type);
|
| info.GetReturnValue().Set(toV8(blob.get(), info.Holder(), info.GetIsolate()));
|
| }
|
|
|
|
|