aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-30 14:07:26 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-01-30 14:07:26 +0000
commite5e3937a14c1ab2d02e646ae0a5e8d5a724a45a4 (patch)
tree5818f73314377e6e4274604939496b0c7a9ece99 /src
parent7d72c45a9e90e0087ac98ff57a2c797948f9f9f0 (diff)
fix compilation errors when VISUALIZE_COMPLEX_CLIP is set (debug assist code path)
Review URL: http://codereview.appspot.com/5596043/ git-svn-id: http://skia.googlecode.com/svn/trunk@3100 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/gpu/GrGpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp
index 8ee98b7631..27a4497e7b 100644
--- a/src/gpu/GrGpu.cpp
+++ b/src/gpu/GrGpu.cpp
@@ -434,7 +434,7 @@ void GrGpu::ConvertStencilFuncAndMask(GrStencilFunc func,
#if VISUALIZE_COMPLEX_CLIP
#include "GrRandom.h"
GrRandom gRandom;
- #define SET_RANDOM_COLOR this->setColor(0xff000000 | gRandom.nextU());
+ #define SET_RANDOM_COLOR drawState->setColor(0xff000000 | gRandom.nextU());
#else
#define SET_RANDOM_COLOR
#endif