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

Unified Diff: third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.cpp

Issue 2571953003: WebBlendModeNormal should map to SkBlendMode::kSrcOver (Closed)
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.cpp b/third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.cpp
index d154e48c009dd9e9d18e4b5a116ecfa987fecef1..a450200528d929dbd0b68a0062b613cedb76f811 100644
--- a/third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.cpp
+++ b/third_party/WebKit/Source/platform/graphics/skia/SkiaUtils.cpp
@@ -55,7 +55,7 @@ static const struct CompositOpToXfermodeMode {
// Keep this array in sync with the WebBlendMode enum in
// public/platform/WebBlendMode.h.
static const SkBlendMode gMapBlendOpsToXfermodeModes[] = {
- SkBlendMode::kClear, // WebBlendModeNormal
+ SkBlendMode::kSrcOver, // WebBlendModeNormal
SkBlendMode::kMultiply, // WebBlendModeMultiply
SkBlendMode::kScreen, // WebBlendModeScreen
SkBlendMode::kOverlay, // WebBlendModeOverlay
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698