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

Unified Diff: Source/bindings/core/v8/V8ObjectConstructor.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
« no previous file with comments | « Source/bindings/core/v8/ScriptPromise.cpp ('k') | Source/bindings/core/v8/V8ThrowException.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8ObjectConstructor.cpp
diff --git a/Source/bindings/core/v8/V8ObjectConstructor.cpp b/Source/bindings/core/v8/V8ObjectConstructor.cpp
index f6c01e0355f0d7635129aa57764b3249a0f4199f..d03639b65aee8ee2f71981a0531cabd39da81b6d 100644
--- a/Source/bindings/core/v8/V8ObjectConstructor.cpp
+++ b/Source/bindings/core/v8/V8ObjectConstructor.cpp
@@ -59,7 +59,7 @@ v8::Local<v8::Object> V8ObjectConstructor::newInstanceInDocument(v8::Isolate* is
void V8ObjectConstructor::isValidConstructorMode(const v8::FunctionCallbackInfo<v8::Value>& info)
{
if (ConstructorMode::current(info.GetIsolate()) == ConstructorMode::CreateNewObject) {
- V8ThrowException::throwTypeError("Illegal constructor", info.GetIsolate());
+ V8ThrowException::throwTypeError(info.GetIsolate(), "Illegal constructor");
return;
}
v8SetReturnValue(info, info.This());
« no previous file with comments | « Source/bindings/core/v8/ScriptPromise.cpp ('k') | Source/bindings/core/v8/V8ThrowException.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698