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

Unified Diff: cc/playback/transform_display_item.cc

Issue 2075873002: Support general raster matrix for RasterSource and DisplayItemList (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix a bug in PrepareForPlaybackToCanvas and fix cc_unittests Created 4 years, 6 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/playback/transform_display_item.cc
diff --git a/cc/playback/transform_display_item.cc b/cc/playback/transform_display_item.cc
index e3aa5912a6379c81bec884d8400034e0936c4189..3faf5752f2896f17011ba5752fda1b41d7a96a2a 100644
--- a/cc/playback/transform_display_item.cc
+++ b/cc/playback/transform_display_item.cc
@@ -46,7 +46,6 @@ void TransformDisplayItem::ToProtobuf(
}
void TransformDisplayItem::Raster(SkCanvas* canvas,
- const gfx::Rect& canvas_target_playback_rect,
SkPicture::AbortCallback* callback) const {
canvas->save();
if (!transform_.IsIdentity())
@@ -83,7 +82,6 @@ void EndTransformDisplayItem::ToProtobuf(
void EndTransformDisplayItem::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