Index: include/core/SkRect.h |
diff --git a/include/core/SkRect.h b/include/core/SkRect.h |
index 64e6abd08d2426af034f5f68b73f9dd0d7165bd8..394e45d4ca3866ce4c000af3dd05df399554da2d 100644 |
--- a/include/core/SkRect.h |
+++ b/include/core/SkRect.h |
@@ -862,16 +862,9 @@ public: |
*/ |
const SkScalar* asScalars() const { return &fLeft; } |
-#ifdef SK_DEVELOPER |
- /** |
- * Dumps the rect using SkDebugf. This is intended for Skia development debugging. Don't |
- * rely on the existence of this function or the formatting of its output. |
- */ |
- void dump() const { |
- SkDebugf("{ l: %f, t: %f, r: %f, b: %f }", fLeft, fTop, fRight, fBottom); |
- } |
-#endif |
- |
+ void dump(bool asHex) const; |
+ void dump() const { this->dump(false); } |
+ void dumpHex() const { this->dump(true); } |
}; |
#endif |