Index: include/gpu/GrContext.h |
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h |
index de7644465a4db8331f5914ce561054bbf8873e4f..b60aea08130a618b98525cdcf3e661d66dd686f8 100644 |
--- a/include/gpu/GrContext.h |
+++ b/include/gpu/GrContext.h |
@@ -361,6 +361,9 @@ public: |
GrAuditTrail* getAuditTrail() { return &fAuditTrail; } |
+ /** This is only useful for debug purposes */ |
+ SkDEBUGCODE(GrSingleOwner* debugSingleOwner() const { return &fSingleOwner; } ) |
+ |
private: |
GrGpu* fGpu; |
const GrCaps* fCaps; |