Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(109)

Side by Side Diff: cc/playback/clip_display_item.cc

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: Merge branch 'master' into ccpaint Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/playback/clip_display_item.h ('k') | cc/playback/clip_path_display_item.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « cc/playback/clip_display_item.h ('k') | cc/playback/clip_path_display_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698