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

Unified Diff: components/exo/surface_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 | « components/exo/surface.cc ('k') | components/exo/wayland/server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/exo/surface_unittest.cc
diff --git a/components/exo/surface_unittest.cc b/components/exo/surface_unittest.cc
index 95309a39fddce194f7aa5770da6ab51b75d89538..570e4acc075f2dd03a7c9ac3063e76fca51e88c8 100644
--- a/components/exo/surface_unittest.cc
+++ b/components/exo/surface_unittest.cc
@@ -203,7 +203,7 @@ TEST_F(SurfaceTest, SetBlendMode) {
std::unique_ptr<Surface> surface(new Surface);
surface->Attach(buffer.get());
- surface->SetBlendMode(SkXfermode::kSrc_Mode);
+ surface->SetBlendMode(SkBlendMode::kSrc);
surface->Commit();
const cc::CompositorFrame& frame = GetFrameFromSurface(surface.get());
« no previous file with comments | « components/exo/surface.cc ('k') | components/exo/wayland/server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698