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

Unified Diff: gm/srcmode.cpp

Issue 1240843005: make drawbitmaprect lighting lumafilter matrixconvolution srcmode gm portable (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 5 months 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 | « gm/matrixconvolution.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/srcmode.cpp
diff --git a/gm/srcmode.cpp b/gm/srcmode.cpp
index 85a3561de2fe46bd0c419748d1d1d7ee78f4cfde..d089902b709ec00272a8bec02f80880bf284a19b 100644
--- a/gm/srcmode.cpp
+++ b/gm/srcmode.cpp
@@ -80,8 +80,8 @@ protected:
canvas->translate(SkIntToScalar(20), SkIntToScalar(20));
SkPaint paint;
- sk_tool_utils::set_portable_typeface(&paint);
- paint.setColor(0x80FF0000);
+ sk_tool_utils::set_portable_typeface_always(&paint);
+ paint.setColor(0x80F60000);
const Proc procs[] = {
draw_hair, draw_thick, draw_rect, draw_oval, draw_text
« no previous file with comments | « gm/matrixconvolution.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698