Index: third_party/WebKit/Source/platform/geometry/FloatRoundedRect.h |
diff --git a/third_party/WebKit/Source/platform/geometry/FloatRoundedRect.h b/third_party/WebKit/Source/platform/geometry/FloatRoundedRect.h |
index f3ccbbfdc548551a91ad5b0e39ad4589e858b54c..406f91ffa2c071067d6ca0c01aeb4b722a46b979 100644 |
--- a/third_party/WebKit/Source/platform/geometry/FloatRoundedRect.h |
+++ b/third_party/WebKit/Source/platform/geometry/FloatRoundedRect.h |
@@ -86,10 +86,7 @@ public: |
void includeLogicalEdges(const Radii& edges, bool isHorizontal, bool includeLogicalLeftEdge, bool includeLogicalRightEdge); |
-#ifndef NDEBUG |
- // Prints debugging information. |
- void show() const; |
-#endif |
+ String toString() const; |
private: |
FloatSize m_topLeft; |
@@ -152,11 +149,6 @@ public: |
void adjustRadii(); |
bool isRenderable() const; |
-#ifndef NDEBUG |
- // Prints debugging information. |
- void show() const; |
-#endif |
- |
// Constrains the radii to be no more than the size of rect(); radii outside of this range are not |
// defined. |
// In addition, the radii of the corners are floored to the nearest integer. |
@@ -166,6 +158,8 @@ public: |
operator SkRRect() const; |
+ String toString() const; |
+ |
private: |
FloatRect m_rect; |
Radii m_radii; |