| Index: third_party/WebKit/Source/bindings/tests/results/core/DoubleOrString.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrString.cpp b/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrString.cpp
|
| index ef48b5befa74c5fae7185a96479c0ac895531616..b362930f99126885d4b3bdf0b8ef0d7fdb139766 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrString.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/DoubleOrString.cpp
|
| @@ -73,16 +73,18 @@ void V8DoubleOrString::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;
|
| }
|
|
|