Index: Source/bindings/core/v8/custom/V8HTMLDocumentCustom.cpp |
diff --git a/Source/bindings/core/v8/custom/V8HTMLDocumentCustom.cpp b/Source/bindings/core/v8/custom/V8HTMLDocumentCustom.cpp |
index 88531a3808abe061ed1e22626a997962ac19ebdc..c9482a1290cbaa73878440fc05a1a8eaefae5306 100644 |
--- a/Source/bindings/core/v8/custom/V8HTMLDocumentCustom.cpp |
+++ b/Source/bindings/core/v8/custom/V8HTMLDocumentCustom.cpp |
@@ -70,7 +70,7 @@ void V8HTMLDocument::openMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& |
return; |
// If the open property is not a function throw a type error. |
if (!function->IsFunction()) { |
- V8ThrowException::throwTypeError("open is not a function", info.GetIsolate()); |
+ V8ThrowException::throwTypeError(info.GetIsolate(), "open is not a function"); |
return; |
} |
// Wrap up the arguments and call the function. |