Index: Source/bindings/core/v8/CustomElementConstructorBuilder.cpp |
diff --git a/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp b/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp |
index b8e99bc6ccc7f800f86da394edc0b98ba9a5db60..29c651fad03513c7688bc742b5d13e89bffad486 100644 |
--- a/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp |
+++ b/Source/bindings/core/v8/CustomElementConstructorBuilder.cpp |
@@ -249,12 +249,12 @@ static void constructCustomElement(const v8::FunctionCallbackInfo<v8::Value>& in |
v8::Isolate* isolate = info.GetIsolate(); |
if (!info.IsConstructCall()) { |
- V8ThrowException::throwTypeError("DOM object constructor cannot be called as a function.", isolate); |
+ V8ThrowException::throwTypeError(isolate, "DOM object constructor cannot be called as a function."); |
return; |
} |
if (info.Length() > 0) { |
- V8ThrowException::throwTypeError("This constructor should be called without arguments.", isolate); |
+ V8ThrowException::throwTypeError(isolate, "This constructor should be called without arguments."); |
return; |
} |