Index: gm/emptypath.cpp |
diff --git a/gm/emptypath.cpp b/gm/emptypath.cpp |
index b3f80164530fbf60ef35d8886920e75b8f7854fe..64eb28694f0161ce6b1f5a8117d404ecea26d4b9 100644 |
--- a/gm/emptypath.cpp |
+++ b/gm/emptypath.cpp |
@@ -92,7 +92,7 @@ |
SkColor color = rand.nextU(); |
color = 0xff000000 | color; // force solid |
- sk_tool_utils::color_to_565(&color); |
+ color = sk_tool_utils::color_to_565(color); |
this->drawEmpty(canvas, color, rect, |
gStyles[style].fStyle, gFills[fill].fFill); |