| Index: third_party/WebKit/Source/bindings/tests/results/core/StringOrStringSequence.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/tests/results/core/StringOrStringSequence.cpp b/third_party/WebKit/Source/bindings/tests/results/core/StringOrStringSequence.cpp
|
| index 45ac157f46277ad3d40e5aca6fe66e9c5810642a..8897471f470b2ecb3231dcb2e921feb8546b57af 100644
|
| --- a/third_party/WebKit/Source/bindings/tests/results/core/StringOrStringSequence.cpp
|
| +++ b/third_party/WebKit/Source/bindings/tests/results/core/StringOrStringSequence.cpp
|
| @@ -73,16 +73,18 @@ void V8StringOrStringSequence::toImpl(v8::Isolate* isolate, v8::Local<v8::Value>
|
|
|
| if (v8Value->IsArray()) {
|
| Vector<String> cppValue = toImplArray<Vector<String>>(v8Value, 0, isolate, exceptionState);
|
| - if (exceptionState.hadException())
|
| + if (exceptionState.hadException()) {
|
| return;
|
| + }
|
| impl.setStringSequence(cppValue);
|
| return;
|
| }
|
|
|
| {
|
| V8StringResource<> cppValue = v8Value;
|
| - if (!cppValue.prepare(exceptionState))
|
| + if (!cppValue.prepare(exceptionState)) {
|
| return;
|
| + }
|
| impl.setString(cppValue);
|
| return;
|
| }
|
|
|