Index: third_party/WebKit/Source/bindings/tests/results/core/BooleanOrStringOrUnrestrictedDouble.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/BooleanOrStringOrUnrestrictedDouble.cpp b/third_party/WebKit/Source/bindings/tests/results/core/BooleanOrStringOrUnrestrictedDouble.cpp |
index c7609047dc5e6fc8a9a5adf77c3d4b55f61001b0..f6d874a6cb8aa51b537dc2a9b74bba4844849ba5 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/BooleanOrStringOrUnrestrictedDouble.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/BooleanOrStringOrUnrestrictedDouble.cpp |
@@ -98,16 +98,18 @@ void V8BooleanOrStringOrUnrestrictedDouble::toImpl(v8::Isolate* isolate, v8::Loc |
if (v8Value->IsNumber()) { |
double cppValue = toDouble(isolate, v8Value, exceptionState); |
- if (exceptionState.hadException()) |
+ if (exceptionState.hadException()) { |
return; |
+ } |
impl.setUnrestrictedDouble(cppValue); |
return; |
} |
{ |
V8StringResource<> cppValue = v8Value; |
- if (!cppValue.prepare(exceptionState)) |
+ if (!cppValue.prepare(exceptionState)) { |
return; |
+ } |
impl.setString(cppValue); |
return; |
} |