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

Unified Diff: cc/blink/web_display_item_list_impl.h

Issue 2502373003: stop using SkXfermode -- use SkBlendMode instead (Closed)
Patch Set: Created 4 years, 1 month 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/blink/web_display_item_list_impl.h
diff --git a/cc/blink/web_display_item_list_impl.h b/cc/blink/web_display_item_list_impl.h
index 7a8e9ef7b88bfb7dd2a7a921c366a78fcc06d5ad..3e51423025c5be74d3a5f9f8f1cc58716511a6db 100644
--- a/cc/blink/web_display_item_list_impl.h
+++ b/cc/blink/web_display_item_list_impl.h
@@ -11,8 +11,8 @@
#include "cc/playback/display_item_list.h"
#include "third_party/WebKit/public/platform/WebDisplayItemList.h"
#include "third_party/WebKit/public/platform/WebVector.h"
+#include "third_party/skia/include/core/SkBlendMode.h"
#include "third_party/skia/include/core/SkRegion.h"
-#include "third_party/skia/include/core/SkXfermode.h"
#include "ui/gfx/geometry/point_f.h"
class SkColorFilter;
@@ -58,7 +58,7 @@ class WebDisplayItemListImpl : public blink::WebDisplayItemList {
void appendTransformItem(const SkMatrix44& matrix) override;
void appendEndTransformItem() override;
void appendCompositingItem(float opacity,
- SkXfermode::Mode,
+ SkBlendMode,
SkRect* bounds,
SkColorFilter*) override;
void appendEndCompositingItem() override;

Powered by Google App Engine
This is Rietveld 408576698