| 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. | 5 // This file has been auto-generated by code_generator_v8.py. |
| 6 // DO NOT MODIFY! | 6 // DO NOT MODIFY! |
| 7 | 7 |
| 8 // This file has been generated from the Jinja2 template in |
| 9 // third_party/WebKit/Source/bindings/templates/union_container.h.tmpl |
| 10 |
| 8 // clang-format off | 11 // clang-format off |
| 9 #ifndef BooleanOrString_h | 12 #ifndef BooleanOrString_h |
| 10 #define BooleanOrString_h | 13 #define BooleanOrString_h |
| 11 | 14 |
| 12 #include "bindings/core/v8/Dictionary.h" | 15 #include "bindings/core/v8/Dictionary.h" |
| 13 #include "bindings/core/v8/ExceptionState.h" | 16 #include "bindings/core/v8/ExceptionState.h" |
| 14 #include "bindings/core/v8/V8Binding.h" | 17 #include "bindings/core/v8/V8Binding.h" |
| 15 #include "modules/ModulesExport.h" | 18 #include "modules/ModulesExport.h" |
| 16 #include "platform/heap/Handle.h" | 19 #include "platform/heap/Handle.h" |
| 17 | 20 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 | 74 |
| 72 } // namespace blink | 75 } // namespace blink |
| 73 | 76 |
| 74 // We need to set canInitializeWithMemset=true because HeapVector supports | 77 // We need to set canInitializeWithMemset=true because HeapVector supports |
| 75 // items that can initialize with memset or have a vtable. It is safe to | 78 // items that can initialize with memset or have a vtable. It is safe to |
| 76 // set canInitializeWithMemset=true for a union type object in practice. | 79 // set canInitializeWithMemset=true for a union type object in practice. |
| 77 // See https://codereview.chromium.org/1118993002/#msg5 for more details. | 80 // See https://codereview.chromium.org/1118993002/#msg5 for more details. |
| 78 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::BooleanOrString); | 81 WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::BooleanOrString); |
| 79 | 82 |
| 80 #endif // BooleanOrString_h | 83 #endif // BooleanOrString_h |
| OLD | NEW |