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

Unified Diff: gm/gradients.cpp

Issue 1184123002: Revert of make gm background colors 565 compatible (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 6 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/gradient_matrix.cpp ('k') | gm/gradients_2pt_conical.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/gradients.cpp
diff --git a/gm/gradients.cpp b/gm/gradients.cpp
index 523a11211af50f4059aff4d3328aed640a3037fb..4e6aba952100028f1f0194ab6afb453606e32525 100644
--- a/gm/gradients.cpp
+++ b/gm/gradients.cpp
@@ -101,7 +101,7 @@
class GradientsGM : public GM {
public:
GradientsGM() {
- this->setBGColor(sk_tool_utils::color_to_565(0xFFDDDDDD));
+ this->setBGColor(0xFFDDDDDD);
}
protected:
@@ -156,7 +156,7 @@
class GradientsLocalPerspectiveGM : public GM {
public:
GradientsLocalPerspectiveGM() {
- this->setBGColor(sk_tool_utils::color_to_565(0xFFDDDDDD));
+ this->setBGColor(0xFFDDDDDD);
}
protected:
« no previous file with comments | « gm/gradient_matrix.cpp ('k') | gm/gradients_2pt_conical.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698