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

Unified Diff: Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp

Issue 587653002: IDL: Conversion to Dictionary is trivial (can't fail) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 months 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/tests/results/core/V8TestInterfaceEventConstructor.cpp
diff --git a/Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp b/Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp
index afdcf03042525d68d822521b61082e21c713a76d..ec5269098df7e573d0d68c9fca4b945a9c44b989 100644
--- a/Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp
+++ b/Source/bindings/tests/results/core/V8TestInterfaceEventConstructor.cpp
@@ -242,7 +242,7 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info)
v8::Local<v8::Value> initializedByEventConstructorReadonlyAnyAttribute;
TestInterfaceEventConstructorInit eventInit;
if (info.Length() >= 2) {
- TONATIVE_VOID(Dictionary, options, Dictionary(info[1], info.GetIsolate()));
+ Dictionary options(info[1], info.GetIsolate());
if (!initializeTestInterfaceEventConstructor(eventInit, options, exceptionState, info)) {
exceptionState.throwIfNeeded();
return;

Powered by Google App Engine
This is Rietveld 408576698