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

Unified Diff: gm/skbug1719.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/simpleaaclip.cpp ('k') | gm/stringart.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/skbug1719.cpp
diff --git a/gm/skbug1719.cpp b/gm/skbug1719.cpp
index dc5de45b2b048a9e6c6b3ab54f53002ed0ddfc76..66526295d8dc622263e1f88614e2e88e1ea21edd 100644
--- a/gm/skbug1719.cpp
+++ b/gm/skbug1719.cpp
@@ -34,7 +34,7 @@ protected:
void onDrawBackground(SkCanvas* canvas) override {
SkPaint bgPaint;
- bgPaint.setColor(0xFF303030);
+ bgPaint.setColor(sk_tool_utils::color_to_565(0xFF303030));
canvas->drawPaint(bgPaint);
}
« no previous file with comments | « gm/simpleaaclip.cpp ('k') | gm/stringart.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698