Index: gm/shallowgradient.cpp |
diff --git a/gm/shallowgradient.cpp b/gm/shallowgradient.cpp |
index 415ed41489b86f25758f5c08b59be0818abf2bbe..276ec14f49d2b397f602935ae3823b0596bee0c0 100644 |
--- a/gm/shallowgradient.cpp |
+++ b/gm/shallowgradient.cpp |
@@ -52,7 +52,8 @@ protected: |
} |
void onDraw(SkCanvas* canvas) override { |
- const SkColor colors[] = { 0xFF555555, 0xFF444444 }; |
+ const SkColor colors[] = { sk_tool_utils::color_to_565(0xFF555555), |
+ sk_tool_utils::color_to_565(0xFF444444) }; |
const int colorCount = SK_ARRAY_COUNT(colors); |
SkRect r = { 0, 0, this->width(), this->height() }; |