Index: third_party/WebKit/Source/bindings/tests/results/core/TestInterfaceOrLong.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/TestInterfaceOrLong.cpp b/third_party/WebKit/Source/bindings/tests/results/core/TestInterfaceOrLong.cpp |
index 0e93c7b63d05dca6bdecc3b615d8a22f133fc619..50e7705a7e4f47b0d8b0d16c08fc6d9d4fc2f1bb 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/TestInterfaceOrLong.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/TestInterfaceOrLong.cpp |
@@ -85,16 +85,18 @@ void V8TestInterfaceOrLong::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8 |
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; |
} |