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

Unified Diff: cc/blimp/layer_tree_host_unittest_serialization.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 | « ash/utility/screenshot_controller.cc ('k') | cc/blink/web_blend_mode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blimp/layer_tree_host_unittest_serialization.cc
diff --git a/cc/blimp/layer_tree_host_unittest_serialization.cc b/cc/blimp/layer_tree_host_unittest_serialization.cc
index aa0e1c65fc53317f11367b9bf07e292b5e09f68c..2a3c82efb80648ef1d5a422f8f05540e05f7d355 100644
--- a/cc/blimp/layer_tree_host_unittest_serialization.cc
+++ b/cc/blimp/layer_tree_host_unittest_serialization.cc
@@ -299,7 +299,7 @@ TEST_F(LayerTreeHostSerializationTest, LayerDataSerialization) {
layer->SetNonFastScrollableRegion(Region(gfx::Rect(3, 14, 1, 5)));
layer->SetContentsOpaque(!layer->contents_opaque());
layer->SetOpacity(0.4f);
- layer->SetBlendMode(SkXfermode::kOverlay_Mode);
+ layer->SetBlendMode(SkBlendMode::kOverlay);
layer->SetIsRootForIsolatedGroup(!layer->is_root_for_isolated_group());
layer->SetPosition(gfx::PointF(3.14f, 6.28f));
layer->SetIsContainerForFixedPositionLayers(
« no previous file with comments | « ash/utility/screenshot_controller.cc ('k') | cc/blink/web_blend_mode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698