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

Unified Diff: Source/bindings/core/v8/custom/V8HTMLDocumentCustom.cpp

Issue 709743002: Move the v8::Isolate* parameter to the first parameter of various binding methods in third_party/We… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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/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.
« no previous file with comments | « Source/bindings/core/v8/custom/V8ElementCustom.cpp ('k') | Source/bindings/core/v8/custom/V8InjectedScriptHostCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698