Index: third_party/WebKit/Source/bindings/tests/results/core/LongOrTestDictionary.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/LongOrTestDictionary.cpp b/third_party/WebKit/Source/bindings/tests/results/core/LongOrTestDictionary.cpp |
index 23fc4cf8f4c45b396bcdd8151738c2fa709729d0..f0b467c9fa1cb8097db88906c898b86ca23ca1f1 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/LongOrTestDictionary.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/LongOrTestDictionary.cpp |
@@ -77,8 +77,9 @@ void V8LongOrTestDictionary::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v |
if (isUndefinedOrNull(v8Value)) { |
TestDictionary cppValue; |
V8TestDictionary::toImpl(isolate, v8Value, cppValue, exceptionState); |
- if (exceptionState.hadException()) |
+ if (exceptionState.hadException()) { |
return; |
+ } |
impl.setTestDictionary(cppValue); |
return; |
} |
@@ -86,24 +87,27 @@ void V8LongOrTestDictionary::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v |
if (v8Value->IsObject()) { |
TestDictionary cppValue; |
V8TestDictionary::toImpl(isolate, v8Value, cppValue, exceptionState); |
- if (exceptionState.hadException()) |
+ if (exceptionState.hadException()) { |
return; |
+ } |
impl.setTestDictionary(cppValue); |
return; |
} |
if (v8Value->IsNumber()) { |
int cppValue = toInt32(isolate, v8Value, NormalConversion, exceptionState); |
- if (exceptionState.hadException()) |
+ if (exceptionState.hadException()) { |
return; |
+ } |
impl.setLong(cppValue); |
return; |
} |
{ |
int cppValue = toInt32(isolate, v8Value, NormalConversion, exceptionState); |
- if (exceptionState.hadException()) |
+ if (exceptionState.hadException()) { |
return; |
+ } |
impl.setLong(cppValue); |
return; |
} |