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

Unified Diff: cc/playback/transform_display_item.cc

Issue 1982893002: [blimp] Add SkPicture caching support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments from vmpstr, including adding //cc/blimp 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
« no previous file with comments | « cc/playback/transform_display_item.h ('k') | cc/proto/display_item.proto » ('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 3faf5752f2896f17011ba5752fda1b41d7a96a2a..ef281362674939de39e864c6283fb019a7240146 100644
--- a/cc/playback/transform_display_item.cc
+++ b/cc/playback/transform_display_item.cc
@@ -13,7 +13,6 @@
#include "third_party/skia/include/core/SkCanvas.h"
namespace cc {
-class ImageSerializationProcessor;
TransformDisplayItem::TransformDisplayItem(const gfx::Transform& transform)
: transform_(gfx::Transform::kSkipInitialization) {
@@ -36,9 +35,7 @@ void TransformDisplayItem::SetNew(const gfx::Transform& transform) {
transform_ = transform;
}
-void TransformDisplayItem::ToProtobuf(
- proto::DisplayItem* proto,
- ImageSerializationProcessor* image_serialization_processor) const {
+void TransformDisplayItem::ToProtobuf(proto::DisplayItem* proto) const {
proto->set_type(proto::DisplayItem::Type_Transform);
proto::TransformDisplayItem* details = proto->mutable_transform_item();
@@ -74,9 +71,7 @@ EndTransformDisplayItem::EndTransformDisplayItem(
EndTransformDisplayItem::~EndTransformDisplayItem() {
}
-void EndTransformDisplayItem::ToProtobuf(
- proto::DisplayItem* proto,
- ImageSerializationProcessor* image_serialization_processor) const {
+void EndTransformDisplayItem::ToProtobuf(proto::DisplayItem* proto) const {
proto->set_type(proto::DisplayItem::Type_EndTransform);
}
« no previous file with comments | « cc/playback/transform_display_item.h ('k') | cc/proto/display_item.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698