Index: third_party/WebKit/Source/bindings/tests/results/core/StringOrDouble.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/StringOrDouble.cpp b/third_party/WebKit/Source/bindings/tests/results/core/StringOrDouble.cpp |
index f18d89fe7931bf7b136950a6f6d8b863c11498ca..d316feb30b609e5fd2439855777fc548bdf4cb57 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/StringOrDouble.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/StringOrDouble.cpp |
@@ -73,16 +73,18 @@ void V8StringOrDouble::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value |
if (v8Value->IsNumber()) { |
double cppValue = toRestrictedDouble(isolate, v8Value, exceptionState); |
- if (exceptionState.hadException()) |
+ if (exceptionState.hadException()) { |
return; |
+ } |
impl.setDouble(cppValue); |
return; |
} |
{ |
V8StringResource<> cppValue = v8Value; |
- if (!cppValue.prepare(exceptionState)) |
+ if (!cppValue.prepare(exceptionState)) { |
return; |
+ } |
impl.setString(cppValue); |
return; |
} |