| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "cc/playback/clip_display_item.h" | |
| 6 | |
| 7 namespace cc { | |
| 8 | |
| 9 ClipDisplayItem::ClipDisplayItem(const gfx::Rect& clip_rect, | |
| 10 std::vector<SkRRect> rounded_clip_rects, | |
| 11 bool antialias) | |
| 12 : DisplayItem(CLIP), | |
| 13 clip_rect(clip_rect), | |
| 14 rounded_clip_rects(std::move(rounded_clip_rects)), | |
| 15 antialias(antialias) {} | |
| 16 | |
| 17 ClipDisplayItem::~ClipDisplayItem() = default; | |
| 18 | |
| 19 EndClipDisplayItem::EndClipDisplayItem() : DisplayItem(END_CLIP) {} | |
| 20 | |
| 21 EndClipDisplayItem::~EndClipDisplayItem() = default; | |
| 22 | |
| 23 } // namespace cc | |
| OLD | NEW |