Index: src/pathops/SkPathOpsTypes.h |
diff --git a/src/pathops/SkPathOpsTypes.h b/src/pathops/SkPathOpsTypes.h |
index 786eb2288e52266caf96ef13f8d1fb8d2575e98f..e390b4b2b15ca57edda10212ce2d74da75fd62c7 100644 |
--- a/src/pathops/SkPathOpsTypes.h |
+++ b/src/pathops/SkPathOpsTypes.h |
@@ -221,8 +221,8 @@ private: |
#define SkOPASSERT(cond) SkASSERT((this->globalState() && \ |
this->globalState()->debugSkipAssert()) || (cond)) |
#endif |
-#define SkOPOBJASSERT(obj, cond) SkASSERT((obj->debugGlobalState() && \ |
- obj->debugGlobalState()->debugSkipAssert()) || (cond)) |
+#define SkOPOBJASSERT(obj, cond) SkASSERT((obj->globalState() && \ |
+ obj->globalState()->debugSkipAssert()) || (cond)) |
#else |
#define SkOPASSERT(cond) |
#define SkOPOBJASSERT(obj, cond) |