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 "cc/playback/float_clip_display_item.h" | 5 #include "cc/paint/float_clip_display_item.h" |
6 | 6 |
7 namespace cc { | 7 namespace cc { |
8 | 8 |
9 FloatClipDisplayItem::FloatClipDisplayItem(const gfx::RectF& clip_rect) | 9 FloatClipDisplayItem::FloatClipDisplayItem(const gfx::RectF& clip_rect) |
10 : DisplayItem(FLOAT_CLIP), clip_rect(clip_rect) {} | 10 : DisplayItem(FLOAT_CLIP), clip_rect(clip_rect) {} |
11 | 11 |
12 FloatClipDisplayItem::~FloatClipDisplayItem() = default; | 12 FloatClipDisplayItem::~FloatClipDisplayItem() = default; |
13 | 13 |
14 EndFloatClipDisplayItem::EndFloatClipDisplayItem() | 14 EndFloatClipDisplayItem::EndFloatClipDisplayItem() |
15 : DisplayItem(END_FLOAT_CLIP) {} | 15 : DisplayItem(END_FLOAT_CLIP) {} |
16 | 16 |
17 EndFloatClipDisplayItem::~EndFloatClipDisplayItem() = default; | 17 EndFloatClipDisplayItem::~EndFloatClipDisplayItem() = default; |
18 | 18 |
19 } // namespace cc | 19 } // namespace cc |
OLD | NEW |