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

Unified Diff: cc/playback/clip_path_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/clip_path_display_item.h ('k') | cc/playback/compositing_display_item.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/clip_path_display_item.cc
diff --git a/cc/playback/clip_path_display_item.cc b/cc/playback/clip_path_display_item.cc
index 2875cbc5b3acf3484d77ead43518bd95f7329ffa..64f3f95712a22361826c0f3ce7e917afd90f5868 100644
--- a/cc/playback/clip_path_display_item.cc
+++ b/cc/playback/clip_path_display_item.cc
@@ -14,7 +14,6 @@
#include "third_party/skia/include/core/SkCanvas.h"
namespace cc {
-class ImageSerializationProcessor;
ClipPathDisplayItem::ClipPathDisplayItem(const SkPath& clip_path,
SkRegion::Op clip_op,
@@ -50,9 +49,7 @@ void ClipPathDisplayItem::SetNew(const SkPath& clip_path,
antialias_ = antialias;
}
-void ClipPathDisplayItem::ToProtobuf(
- proto::DisplayItem* proto,
- ImageSerializationProcessor* image_serialization_processor) const {
+void ClipPathDisplayItem::ToProtobuf(proto::DisplayItem* proto) const {
proto->set_type(proto::DisplayItem::Type_ClipPath);
proto::ClipPathDisplayItem* details = proto->mutable_clip_path_item();
@@ -98,9 +95,7 @@ EndClipPathDisplayItem::EndClipPathDisplayItem(
EndClipPathDisplayItem::~EndClipPathDisplayItem() {
}
-void EndClipPathDisplayItem::ToProtobuf(
- proto::DisplayItem* proto,
- ImageSerializationProcessor* image_serialization_processor) const {
+void EndClipPathDisplayItem::ToProtobuf(proto::DisplayItem* proto) const {
proto->set_type(proto::DisplayItem::Type_EndClipPath);
}
« no previous file with comments | « cc/playback/clip_path_display_item.h ('k') | cc/playback/compositing_display_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698