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 #include "cc/playback/filter_display_item.h" | 5 #include "cc/paint/filter_display_item.h" |
6 | 6 |
7 namespace cc { | 7 namespace cc { |
8 | 8 |
9 FilterDisplayItem::FilterDisplayItem(const FilterOperations& filters, | 9 FilterDisplayItem::FilterDisplayItem(const FilterOperations& filters, |
10 const gfx::RectF& bounds, | 10 const gfx::RectF& bounds, |
11 const gfx::PointF& origin) | 11 const gfx::PointF& origin) |
12 : DisplayItem(FILTER), filters(filters), bounds(bounds), origin(origin) {} | 12 : DisplayItem(FILTER), filters(filters), bounds(bounds), origin(origin) {} |
13 | 13 |
14 FilterDisplayItem::~FilterDisplayItem() = default; | 14 FilterDisplayItem::~FilterDisplayItem() = default; |
15 | 15 |
16 EndFilterDisplayItem::EndFilterDisplayItem() : DisplayItem(END_FILTER) {} | 16 EndFilterDisplayItem::EndFilterDisplayItem() : DisplayItem(END_FILTER) {} |
17 | 17 |
18 EndFilterDisplayItem::~EndFilterDisplayItem() = default; | 18 EndFilterDisplayItem::~EndFilterDisplayItem() = default; |
19 | 19 |
20 } // namespace cc | 20 } // namespace cc |
OLD | NEW |