| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "config.h" | 5 #include "config.h" |
| 6 #include "platform/graphics/paint/SubtreeDisplayItem.h" | 6 #include "platform/graphics/paint/SubtreeDisplayItem.h" |
| 7 | 7 |
| 8 // Intentionally empty. Required when the create() functions are not inlined. | 8 #include "platform/graphics/paint/DisplayItems.h" |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 void SubtreeCachedDisplayItem::appendByMoving(DisplayItems& destination) |
| 13 { |
| 14 destination.emplaceBack<SubtreeCachedDisplayItem>( |
| 15 DisplayItemClientWrapperHelper(*this), type()); |
| 16 } |
| 17 |
| 18 void BeginSubtreeDisplayItem::appendByMoving(DisplayItems& destination) |
| 19 { |
| 20 destination.emplaceBack<BeginSubtreeDisplayItem>( |
| 21 DisplayItemClientWrapperHelper(*this), type()); |
| 22 } |
| 23 |
| 24 void EndSubtreeDisplayItem::appendByMoving(DisplayItems& destination) |
| 25 { |
| 26 destination.emplaceBack<EndSubtreeDisplayItem>( |
| 27 DisplayItemClientWrapperHelper(*this), type()); |
| 28 } |
| 29 |
| 30 } // namespace blink |
| OLD | NEW |