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

Unified Diff: cc/playback/clip_display_item.cc

Issue 1484163002: Raster display item lists via a visual rect RTree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync to head. Created 5 years 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/playback/clip_display_item.cc
diff --git a/cc/playback/clip_display_item.cc b/cc/playback/clip_display_item.cc
index d89566c1e0d685a327e4a4e97bc05c791f38f2e2..4552c7d31caf7b5134ccb59ebeabc2ad9dcdfcdd 100644
--- a/cc/playback/clip_display_item.cc
+++ b/cc/playback/clip_display_item.cc
@@ -60,7 +60,6 @@ void ClipDisplayItem::FromProtobuf(const proto::DisplayItem& proto) {
}
void ClipDisplayItem::Raster(SkCanvas* canvas,
- const gfx::Rect& canvas_target_playback_rect,
SkPicture::AbortCallback* callback) const {
canvas->save();
canvas->clipRect(SkRect::MakeXYWH(clip_rect_.x(), clip_rect_.y(),
@@ -121,7 +120,6 @@ void EndClipDisplayItem::FromProtobuf(const proto::DisplayItem& proto) {
}
void EndClipDisplayItem::Raster(SkCanvas* canvas,
- const gfx::Rect& canvas_target_playback_rect,
SkPicture::AbortCallback* callback) const {
canvas->restore();
}

Powered by Google App Engine
This is Rietveld 408576698