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

Unified Diff: cc/test/surface_hittest_test_helpers.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/test/surface_aggregator_test_helpers.cc ('k') | cc/trees/effect_node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/surface_hittest_test_helpers.cc
diff --git a/cc/test/surface_hittest_test_helpers.cc b/cc/test/surface_hittest_test_helpers.cc
index e4e1fa15de189e5456a3e5928fb95fa4c5eaaed8..5fcea80d4c1078ac5583a80bc8cab26c75d22194 100644
--- a/cc/test/surface_hittest_test_helpers.cc
+++ b/cc/test/surface_hittest_test_helpers.cc
@@ -18,7 +18,7 @@ void CreateSharedQuadState(RenderPass* pass,
const gfx::Rect& root_rect) {
SharedQuadState* child_shared_state = pass->CreateAndAppendSharedQuadState();
child_shared_state->SetAll(transform, root_rect.size(), root_rect, root_rect,
- false, 1.0f, SkXfermode::kSrcOver_Mode, 0);
+ false, 1.0f, SkBlendMode::kSrcOver, 0);
}
void CreateSolidColorDrawQuad(RenderPass* pass,
« no previous file with comments | « cc/test/surface_aggregator_test_helpers.cc ('k') | cc/trees/effect_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698