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

Unified Diff: gm/bitmaprect.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/addarc.cpp ('k') | gm/blend.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/bitmaprect.cpp
diff --git a/gm/bitmaprect.cpp b/gm/bitmaprect.cpp
index 8c7ba9bd5794179c53f97a8d91e225f83f9d94dd..bde6a6f10a07548d9197298b5939b513be14d037 100644
--- a/gm/bitmaprect.cpp
+++ b/gm/bitmaprect.cpp
@@ -46,7 +46,7 @@ protected:
}
void onDraw(SkCanvas* canvas) override {
- canvas->drawColor(0xFFCCCCCC);
+ canvas->drawColor(sk_tool_utils::color_to_565(0xFFCCCCCC));
const SkIRect src[] = {
{ 0, 0, 32, 32 },
« no previous file with comments | « gm/addarc.cpp ('k') | gm/blend.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698