Index: src/core/SkRecorder.h |
diff --git a/src/core/SkRecorder.h b/src/core/SkRecorder.h |
index 97eeb9f454d0005e8b1ddff5f0224a8fed134a72..1373f8a77f802a4ec1f98023adc60cf14f1b4fc0 100644 |
--- a/src/core/SkRecorder.h |
+++ b/src/core/SkRecorder.h |
@@ -110,6 +110,12 @@ private: |
template <typename T> |
T* copy(const T[], size_t count); |
+ SkIRect devBounds() const { |
+ SkIRect devBounds; |
+ this->getClipDeviceBounds(&devBounds); |
+ return devBounds; |
+ } |
+ |
SkRecord* fRecord; |
}; |