Chromium Code Reviews| Index: Source/bindings/tests/results/core/UnionTypesCore.h |
| diff --git a/Source/bindings/tests/results/core/UnionTypesCore.h b/Source/bindings/tests/results/core/UnionTypesCore.h |
| index bd364dd5191492c8fe4b08e9f7ffd7bc0418d917..5034f40d6cbd2606d6f2f7e2bc274e7084733be8 100644 |
| --- a/Source/bindings/tests/results/core/UnionTypesCore.h |
| +++ b/Source/bindings/tests/results/core/UnionTypesCore.h |
| @@ -410,6 +410,17 @@ inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfaceWill |
| v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate())); |
| } |
| + |
|
haraken
2014/11/07 18:06:32
Unnecessary empty line.
bashi
2014/11/08 07:10:34
Done.
|
| +class V8DoubleOrStringOrNull final { |
| +public: |
| + static void toImpl(v8::Isolate* isolate, v8::Handle<v8::Value> v8Value, DoubleOrString& impl, ExceptionState& exceptionState) |
| + { |
| + if (isUndefinedOrNull(v8Value)) |
| + return; |
| + V8DoubleOrString::toImpl(isolate, v8Value, impl, exceptionState); |
| + } |
| +}; |
| + |
| } // namespace blink |
| #endif // UnionTypeCore_h |