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

Unified Diff: cc/layers/solid_color_layer_impl_unittest.cc

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
« no previous file with comments | « cc/layers/render_surface_unittest.cc ('k') | cc/output/ca_layer_overlay.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/solid_color_layer_impl_unittest.cc
diff --git a/cc/layers/solid_color_layer_impl_unittest.cc b/cc/layers/solid_color_layer_impl_unittest.cc
index 312449b2d882b483b292db23460a479d2cbb463f..d2e2bb86dac9c30a47fa5bccd4fec018da37f473 100644
--- a/cc/layers/solid_color_layer_impl_unittest.cc
+++ b/cc/layers/solid_color_layer_impl_unittest.cc
@@ -101,7 +101,7 @@ TEST(SolidColorLayerImplTest, VerifyCorrectOpacityInQuad) {
}
TEST(SolidColorLayerImplTest, VerifyCorrectBlendModeInQuad) {
- const SkXfermode::Mode blend_mode = SkXfermode::kMultiply_Mode;
+ const SkBlendMode blend_mode = SkBlendMode::kMultiply;
std::unique_ptr<RenderPass> render_pass = RenderPass::Create();
« no previous file with comments | « cc/layers/render_surface_unittest.cc ('k') | cc/output/ca_layer_overlay.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698