aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-21 15:28:54 +0000
committerGravatar bungeman@google.com <bungeman@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-21 15:28:54 +0000
commit28eadc9e4d3f7f1f04b5c19a0e2d6d7d1686891b (patch)
tree869e7c2c154389b9aa8d7be5a643f5af195e9b76 /include
parenta5809a3e4cb356387c5201ab9c0a10edf11a01be (diff)
Fix macro for r9718.
git-svn-id: http://skia.googlecode.com/svn/trunk@9720 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r--include/core/SkPath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkPath.h b/include/core/SkPath.h
index 85cd7b7bfb..2488dd8bf9 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -17,7 +17,7 @@
#ifdef SK_BUILD_FOR_ANDROID
#define GEN_ID_INC fGenerationID++
-#define GEN_ID_PTR_INC(ptr) ptr->fGenerationID++
+#define GEN_ID_PTR_INC(ptr) (ptr)->fGenerationID++
#else
#define GEN_ID_INC
#define GEN_ID_PTR_INC(ptr)