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

Unified Diff: components/exo/surface_unittest.cc

Issue 2502373003: stop using SkXfermode -- use SkBlendMode instead (Closed)
Patch Set: 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
Index: components/exo/surface_unittest.cc
diff --git a/components/exo/surface_unittest.cc b/components/exo/surface_unittest.cc
index 01bbff2a7cfe918c32fbada31a4a3ecddd063f9e..49aa1737781d94eabe41191d1931032c4add2d8f 100644
--- a/components/exo/surface_unittest.cc
+++ b/components/exo/surface_unittest.cc
@@ -204,7 +204,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::DelegatedFrameData* frame_data = GetFrameFromSurface(surface.get());

Powered by Google App Engine
This is Rietveld 408576698