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

Unified Diff: cc/paint/float_clip_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/float_clip_display_item.cc
diff --git a/cc/playback/float_clip_display_item.cc b/cc/paint/float_clip_display_item.cc
similarity index 76%
rename from cc/playback/float_clip_display_item.cc
rename to cc/paint/float_clip_display_item.cc
index 39ae923dd47cc939c568ff06ba9bcc4d8ffab0c5..1c53fc0c53f992fa2fd27ff43cff3869f32873e4 100644
--- a/cc/playback/float_clip_display_item.cc
+++ b/cc/paint/float_clip_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/float_clip_display_item.h"
+#include "cc/paint/float_clip_display_item.h"
#include <stddef.h>
@@ -18,8 +18,7 @@ FloatClipDisplayItem::FloatClipDisplayItem(const gfx::RectF& clip_rect)
SetNew(clip_rect);
}
-FloatClipDisplayItem::~FloatClipDisplayItem() {
-}
+FloatClipDisplayItem::~FloatClipDisplayItem() {}
void FloatClipDisplayItem::SetNew(const gfx::RectF& clip_rect) {
clip_rect_ = clip_rect;
@@ -34,12 +33,10 @@ void FloatClipDisplayItem::Raster(SkCanvas* canvas,
EndFloatClipDisplayItem::EndFloatClipDisplayItem()
: DisplayItem(END_FLOAT_CLIP) {}
-EndFloatClipDisplayItem::~EndFloatClipDisplayItem() {
-}
+EndFloatClipDisplayItem::~EndFloatClipDisplayItem() {}
-void EndFloatClipDisplayItem::Raster(
- SkCanvas* canvas,
- SkPicture::AbortCallback* callback) const {
+void EndFloatClipDisplayItem::Raster(SkCanvas* canvas,
+ SkPicture::AbortCallback* callback) const {
canvas->restore();
}

Powered by Google App Engine
This is Rietveld 408576698