| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. |
| 6 // DO NOT MODIFY! |
| 6 | 7 |
| 7 // clang-format off | 8 // clang-format off |
| 8 #include "BooleanOrString.h" | 9 #include "BooleanOrString.h" |
| 9 | 10 |
| 10 #include "bindings/core/v8/ToV8.h" | 11 #include "bindings/core/v8/ToV8.h" |
| 11 | 12 |
| 12 namespace blink { | 13 namespace blink { |
| 13 | 14 |
| 14 BooleanOrString::BooleanOrString() : m_type(SpecificTypeNone) {} | 15 BooleanOrString::BooleanOrString() : m_type(SpecificTypeNone) {} |
| 15 | 16 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 return v8::Local<v8::Value>(); | 90 return v8::Local<v8::Value>(); |
| 90 } | 91 } |
| 91 | 92 |
| 92 BooleanOrString NativeValueTraits<BooleanOrString>::nativeValue(v8::Isolate* iso
late, v8::Local<v8::Value> value, ExceptionState& exceptionState) { | 93 BooleanOrString NativeValueTraits<BooleanOrString>::nativeValue(v8::Isolate* iso
late, v8::Local<v8::Value> value, ExceptionState& exceptionState) { |
| 93 BooleanOrString impl; | 94 BooleanOrString impl; |
| 94 V8BooleanOrString::toImpl(isolate, value, impl, UnionTypeConversionMode::NotNu
llable, exceptionState); | 95 V8BooleanOrString::toImpl(isolate, value, impl, UnionTypeConversionMode::NotNu
llable, exceptionState); |
| 95 return impl; | 96 return impl; |
| 96 } | 97 } |
| 97 | 98 |
| 98 } // namespace blink | 99 } // namespace blink |
| OLD | NEW |