Index: third_party/WebKit/Source/bindings/tests/results/core/UnrestrictedDoubleOrString.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/UnrestrictedDoubleOrString.cpp b/third_party/WebKit/Source/bindings/tests/results/core/UnrestrictedDoubleOrString.cpp |
index fa4a24d57dbb390d1ceab25a8659aa00216f9676..d985b57f1b943cf384455e11bfcf0e0410a83ba7 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/UnrestrictedDoubleOrString.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/UnrestrictedDoubleOrString.cpp |
@@ -73,16 +73,18 @@ void V8UnrestrictedDoubleOrString::toImpl(v8::Isolate* isolate, v8::Local<v8::Va |
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; |
} |