| 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 #ifndef BooleanOrString_h | 9 #ifndef BooleanOrString_h |
| 9 #define BooleanOrString_h | 10 #define BooleanOrString_h |
| 10 | 11 |
| 11 #include "bindings/core/v8/Dictionary.h" | 12 #include "bindings/core/v8/Dictionary.h" |
| 12 #include "bindings/core/v8/ExceptionState.h" | 13 #include "bindings/core/v8/ExceptionState.h" |
| 13 #include "bindings/core/v8/V8Binding.h" | 14 #include "bindings/core/v8/V8Binding.h" |
| 14 #include "modules/ModulesExport.h" | 15 #include "modules/ModulesExport.h" |
| 15 #include "platform/heap/Handle.h" | 16 #include "platform/heap/Handle.h" |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 71 |
| 71 } // namespace blink | 72 } // namespace blink |
| 72 | 73 |
| 73 // We need to set canInitializeWithMemset=true because HeapVector supports | 74 // We need to set canInitializeWithMemset=true because HeapVector supports |
| 74 // items that can initialize with memset or have a vtable. It is safe to | 75 // items that can initialize with memset or have a vtable. It is safe to |
| 75 // set canInitializeWithMemset=true for a union type object in practice. | 76 // set canInitializeWithMemset=true for a union type object in practice. |
| 76 // See https://codereview.chromium.org/1118993002/#msg5 for more details. | 77 // See https://codereview.chromium.org/1118993002/#msg5 for more details. |
| 77 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::BooleanOrString); | 78 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::BooleanOrString); |
| 78 | 79 |
| 79 #endif // BooleanOrString_h | 80 #endif // BooleanOrString_h |
| OLD | NEW |