aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/recordopts.cpp
diff options
context:
space:
mode:
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[] = {