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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.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/V8TestInterfaceConstructor.cpp
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp
index cea0927413e6aae9f67a08d0d0b556d0f96cb1a8..c7c3165b1461b14cee66d47f1f49430e9461d17f 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp
@@ -103,7 +103,7 @@ static void constructor2(const v8::FunctionCallbackInfo<v8::Value>& info) {
return;
}
- dictionaryArg = Dictionary(info[3], info.GetIsolate(), exceptionState);
+ dictionaryArg = Dictionary(info.GetIsolate(), info[3], exceptionState);
if (exceptionState.hadException())
return;
@@ -124,7 +124,7 @@ static void constructor2(const v8::FunctionCallbackInfo<v8::Value>& info) {
return;
}
- optionalDictionaryArg = Dictionary(info[7], info.GetIsolate(), exceptionState);
+ optionalDictionaryArg = Dictionary(info.GetIsolate(), info[7], exceptionState);
if (exceptionState.hadException())
return;

Powered by Google App Engine
This is Rietveld 408576698