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

Unified Diff: skia/ext/benchmarking_canvas.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
Index: skia/ext/benchmarking_canvas.cc
diff --git a/skia/ext/benchmarking_canvas.cc b/skia/ext/benchmarking_canvas.cc
index 65f28f2b18e7b08386aadd3d3a4f2f4469f9d901..ff9c287a392ddd79674830befb7d642369576212 100644
--- a/skia/ext/benchmarking_canvas.cc
+++ b/skia/ext/benchmarking_canvas.cc
@@ -119,7 +119,7 @@ std::unique_ptr<base::Value> AsValue(SkColor color) {
std::unique_ptr<base::Value> AsValue(SkBlendMode mode) {
std::unique_ptr<base::StringValue> val(
- new base::StringValue(SkXfermode::ModeName(mode)));
+ new base::StringValue(SkBlendMode_Name(mode)));
return std::move(val);
}
« no previous file with comments | « skia/config/SkUserConfig.h ('k') | third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698