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

Unified Diff: cc/playback/clip_path_display_item.h

Issue 2575583002: Remove ClipPathDisplayItem::clip_op_ (Closed)
Patch Set: rebase 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/blink/web_display_item_list_impl.cc ('k') | cc/playback/clip_path_display_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/clip_path_display_item.h
diff --git a/cc/playback/clip_path_display_item.h b/cc/playback/clip_path_display_item.h
index f8ea8ab6e11bbe8982d3b4f45891d2388ee8db7c..33e648ef0c3f6bddf765bc63d6708b7ca2035129 100644
--- a/cc/playback/clip_path_display_item.h
+++ b/cc/playback/clip_path_display_item.h
@@ -12,7 +12,6 @@
#include "base/memory/ptr_util.h"
#include "cc/base/cc_export.h"
#include "cc/playback/display_item.h"
-#include "third_party/skia/include/core/SkClipOp.h"
#include "third_party/skia/include/core/SkPath.h"
class SkCanvas;
@@ -21,7 +20,7 @@ namespace cc {
class CC_EXPORT ClipPathDisplayItem : public DisplayItem {
public:
- ClipPathDisplayItem(const SkPath& path, SkClipOp clip_op, bool antialias);
+ ClipPathDisplayItem(const SkPath& path, bool antialias);
explicit ClipPathDisplayItem(const proto::DisplayItem& proto);
~ClipPathDisplayItem() override;
@@ -39,10 +38,9 @@ class CC_EXPORT ClipPathDisplayItem : public DisplayItem {
int ApproximateOpCount() const { return 1; }
private:
- void SetNew(const SkPath& path, SkClipOp clip_op, bool antialias);
+ void SetNew(const SkPath& path, bool antialias);
SkPath clip_path_;
- SkClipOp clip_op_;
bool antialias_;
};
« no previous file with comments | « cc/blink/web_display_item_list_impl.cc ('k') | cc/playback/clip_path_display_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698