aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/recordopts.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2015-01-26 05:39:26 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-01-26 05:39:26 -0800
commitb644e9afde5c456a731ec44d8f72b2e1d93b863f (patch)
tree73465615ad317fd8aafc8006615fceaa8b1a839b /gm/recordopts.cpp
parentdc0f408a961b6ce4e7631e06031bbfe1d8d7bcec (diff)
Fix Windows build
TBR=jvanverth@google.com NOTRY=true NOTREECHECKS=true Review URL: https://codereview.chromium.org/876643002
Diffstat (limited to 'gm/recordopts.cpp')
-rw-r--r--gm/recordopts.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/recordopts.cpp b/gm/recordopts.cpp
index 08202111f5..58cbbf3b9f 100644
--- a/gm/recordopts.cpp
+++ b/gm/recordopts.cpp
@@ -180,7 +180,7 @@ DEF_SIMPLE_GM(recordopts, canvas, (kTestRectSize+1)*2, (kTestRectSize+1)*15) {
// work, eg. that if the value the detector sees is wrong, the resulting image shows this.
SkColor shapeColors[] = {
SkColorSetARGB(255, 0, kDetectorGreenValue, 0),
- SkColorSetARGB(255, 0, kDetectorGreenValue + 1, 0) // This tests that detectors work.
+ SkColorSetARGB(255, 0, (kDetectorGreenValue + 1), 0) // This tests that detectors work.
};
InstallDetectorFunc detectorInstallFuncs[] = {