Chromium Code Reviews| Index: Source/bindings/tests/results/V8TestObject.cpp |
| diff --git a/Source/bindings/tests/results/V8TestObject.cpp b/Source/bindings/tests/results/V8TestObject.cpp |
| index fddb3f1b8623bf5771ea0c2af88a9435dc10c942..2baf6d646b3635be31434abfc21a8d577df3351c 100644 |
| --- a/Source/bindings/tests/results/V8TestObject.cpp |
| +++ b/Source/bindings/tests/results/V8TestObject.cpp |
| @@ -1520,9 +1520,8 @@ static void stringOrNullAttributeAttributeGetter(const v8::PropertyCallbackInfo< |
| { |
| v8::Handle<v8::Object> holder = info.Holder(); |
| TestObject* impl = V8TestObject::toNative(holder); |
| - bool isNull = false; |
| - String cppValue(impl->stringOrNullAttribute(isNull)); |
| - if (isNull) { |
| + String cppValue(impl->stringOrNullAttribute()); |
|
Jens Widell
2014/06/30 10:43:41
For reference, this change is identical to the cha
|
| + if (!cppValue) { |
| v8SetReturnValueNull(info); |
| return; |
| } |