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

Unified Diff: cc/playback/transform_display_item.cc

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 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
« no previous file with comments | « cc/playback/transform_display_item.h ('k') | cc/raster/gpu_raster_buffer_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/transform_display_item.cc
diff --git a/cc/playback/transform_display_item.cc b/cc/playback/transform_display_item.cc
index ef281362674939de39e864c6283fb019a7240146..6b8337474bd7e23559af6e7716fa23e12976434f 100644
--- a/cc/playback/transform_display_item.cc
+++ b/cc/playback/transform_display_item.cc
@@ -42,7 +42,7 @@ void TransformDisplayItem::ToProtobuf(proto::DisplayItem* proto) const {
TransformToProto(transform_, details->mutable_transform());
}
-void TransformDisplayItem::Raster(SkCanvas* canvas,
+void TransformDisplayItem::Raster(CdlCanvas* canvas,
SkPicture::AbortCallback* callback) const {
canvas->save();
if (!transform_.IsIdentity())
@@ -75,9 +75,8 @@ void EndTransformDisplayItem::ToProtobuf(proto::DisplayItem* proto) const {
proto->set_type(proto::DisplayItem::Type_EndTransform);
}
-void EndTransformDisplayItem::Raster(
- SkCanvas* canvas,
- SkPicture::AbortCallback* callback) const {
+void EndTransformDisplayItem::Raster(CdlCanvas* canvas,
+ SkPicture::AbortCallback* callback) const {
canvas->restore();
}
« no previous file with comments | « cc/playback/transform_display_item.h ('k') | cc/raster/gpu_raster_buffer_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698