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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp

Issue 2509713002: binding: Makes Dictionary throw an exception (constructor). (Closed)
Patch Set: Addressed review comments. Created 4 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: third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
index 34bb4b94331b78f43a8d3af99cc3236b69a0b312..d3fff8529fcea481a39dd36cacfd0f38f636f441 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp
@@ -7177,7 +7177,7 @@ static void promiseMethodMethod(const v8::FunctionCallbackInfo<v8::Value>& info)
return;
}
- arg2 = Dictionary(info[1], info.GetIsolate(), exceptionState);
+ arg2 = Dictionary(info.GetIsolate(), info[1], exceptionState);
if (exceptionState.hadException())
return;
@@ -7219,7 +7219,7 @@ static void promiseMethodWithoutExceptionStateMethod(const v8::FunctionCallbackI
return;
}
- arg1 = Dictionary(info[0], info.GetIsolate(), exceptionState);
+ arg1 = Dictionary(info.GetIsolate(), info[0], exceptionState);
if (exceptionState.hadException())
return;
@@ -7266,7 +7266,7 @@ static void voidMethodDictionaryArgMethod(const v8::FunctionCallbackInfo<v8::Val
return;
}
- dictionaryArg = Dictionary(info[0], info.GetIsolate(), exceptionState);
+ dictionaryArg = Dictionary(info.GetIsolate(), info[0], exceptionState);
if (exceptionState.hadException())
return;
@@ -7747,7 +7747,7 @@ static void voidMethodOptionalDictionaryArgMethod(const v8::FunctionCallbackInfo
return;
}
- optionalDictionaryArg = Dictionary(info[0], info.GetIsolate(), exceptionState);
+ optionalDictionaryArg = Dictionary(info.GetIsolate(), info[0], exceptionState);
if (exceptionState.hadException())
return;

Powered by Google App Engine
This is Rietveld 408576698