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/clip_path_display_item.h" | 5 #include "cc/paint/clip_path_display_item.h" |
6 | 6 |
7 namespace cc { | 7 namespace cc { |
8 | 8 |
9 ClipPathDisplayItem::ClipPathDisplayItem(const SkPath& clip_path, | 9 ClipPathDisplayItem::ClipPathDisplayItem(const SkPath& clip_path, |
10 bool antialias) | 10 bool antialias) |
11 : DisplayItem(CLIP_PATH), clip_path(clip_path), antialias(antialias) {} | 11 : DisplayItem(CLIP_PATH), clip_path(clip_path), antialias(antialias) {} |
12 | 12 |
13 ClipPathDisplayItem::~ClipPathDisplayItem() = default; | 13 ClipPathDisplayItem::~ClipPathDisplayItem() = default; |
14 | 14 |
15 EndClipPathDisplayItem::EndClipPathDisplayItem() : DisplayItem(END_CLIP_PATH) {} | 15 EndClipPathDisplayItem::EndClipPathDisplayItem() : DisplayItem(END_CLIP_PATH) {} |
16 | 16 |
17 EndClipPathDisplayItem::~EndClipPathDisplayItem() = default; | 17 EndClipPathDisplayItem::~EndClipPathDisplayItem() = default; |
18 | 18 |
19 } // namespace cc | 19 } // namespace cc |
OLD | NEW |