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

Unified Diff: cc/paint/clip_path_display_item.cc

Issue 2748263002: Move cc::DisplayItemList and related classes into cc/paint/ (Closed)
Patch Set: none 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 side-by-side diff with in-line comments
Download patch
Index: cc/paint/clip_path_display_item.cc
diff --git a/cc/playback/clip_path_display_item.cc b/cc/paint/clip_path_display_item.cc
similarity index 71%
rename from cc/playback/clip_path_display_item.cc
rename to cc/paint/clip_path_display_item.cc
index 8f87c8cf5a3fb7b87b4f12aab337deba20bb75bc..4d540c0bd089f654e37b136d38cf41fb6c17fc81 100644
--- a/cc/playback/clip_path_display_item.cc
+++ b/cc/paint/clip_path_display_item.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "cc/playback/clip_path_display_item.h"
+#include "cc/paint/clip_path_display_item.h"
#include <stddef.h>
#include <stdint.h>
@@ -19,11 +19,9 @@ ClipPathDisplayItem::ClipPathDisplayItem(const SkPath& clip_path,
SetNew(clip_path, antialias);
}
-ClipPathDisplayItem::~ClipPathDisplayItem() {
-}
+ClipPathDisplayItem::~ClipPathDisplayItem() {}
-void ClipPathDisplayItem::SetNew(const SkPath& clip_path,
- bool antialias) {
+void ClipPathDisplayItem::SetNew(const SkPath& clip_path, bool antialias) {
clip_path_ = clip_path;
antialias_ = antialias;
}
@@ -36,12 +34,10 @@ void ClipPathDisplayItem::Raster(SkCanvas* canvas,
EndClipPathDisplayItem::EndClipPathDisplayItem() : DisplayItem(END_CLIP_PATH) {}
-EndClipPathDisplayItem::~EndClipPathDisplayItem() {
-}
+EndClipPathDisplayItem::~EndClipPathDisplayItem() {}
-void EndClipPathDisplayItem::Raster(
- SkCanvas* canvas,
- SkPicture::AbortCallback* callback) const {
+void EndClipPathDisplayItem::Raster(SkCanvas* canvas,
+ SkPicture::AbortCallback* callback) const {
canvas->restore();
}

Powered by Google App Engine
This is Rietveld 408576698