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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/CompositingDisplayItem.cpp

Issue 2502373003: stop using SkXfermode -- use SkBlendMode instead (Closed)
Patch Set: rebase 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: third_party/WebKit/Source/platform/graphics/paint/CompositingDisplayItem.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/CompositingDisplayItem.cpp b/third_party/WebKit/Source/platform/graphics/paint/CompositingDisplayItem.cpp
index 1b768979411a9d8c22dc0808dd9b0d32ef5e45f9..ef120c4f3bda0eb8cde8669894c8dbe720a5b292 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/CompositingDisplayItem.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/CompositingDisplayItem.cpp
@@ -21,7 +21,7 @@ void BeginCompositingDisplayItem::appendToWebDisplayItemList(
WebDisplayItemList* list) const {
SkRect bounds = m_bounds;
list->appendCompositingItem(
- m_opacity, (SkXfermode::Mode)m_xferMode, m_hasBounds ? &bounds : nullptr,
+ m_opacity, m_xferMode, m_hasBounds ? &bounds : nullptr,
GraphicsContext::WebCoreColorFilterToSkiaColorFilter(m_colorFilter)
.get());
}

Powered by Google App Engine
This is Rietveld 408576698