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

Unified Diff: gm/fatpathfill.cpp

Issue 1262703002: make tests portable by using 565 compatible colors (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix dstreadshuffle text portable gm 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/dstreadshuffle.cpp ('k') | gm/gradients.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/fatpathfill.cpp
diff --git a/gm/fatpathfill.cpp b/gm/fatpathfill.cpp
index 43e10059c120458aeb64b570dfa5e9d9eea5b326..711d713852b82a6ede18718bbdc0096a11d22955 100644
--- a/gm/fatpathfill.cpp
+++ b/gm/fatpathfill.cpp
@@ -21,7 +21,7 @@ static SkSurface* new_surface(int width, int height) {
static void draw_pixel_centers(SkCanvas* canvas) {
SkPaint paint;
- paint.setColor(0xFF0088FF);
+ paint.setColor(sk_tool_utils::color_to_565(0xFF0088FF));
paint.setAntiAlias(true);
for (int y = 0; y < SMALL_H; ++y) {
« no previous file with comments | « gm/dstreadshuffle.cpp ('k') | gm/gradients.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698