Index: third_party/WebKit/Source/platform/geometry/IntRect.cpp |
diff --git a/third_party/WebKit/Source/platform/geometry/IntRect.cpp b/third_party/WebKit/Source/platform/geometry/IntRect.cpp |
index 0539c8e88aae271dc0373421969fb45d2cc611a1..f6fb193848f63bafd781b4fc6f5b46d3ce04665f 100644 |
--- a/third_party/WebKit/Source/platform/geometry/IntRect.cpp |
+++ b/third_party/WebKit/Source/platform/geometry/IntRect.cpp |
@@ -187,17 +187,11 @@ IntRect unionRectEvenIfEmpty(const Vector<IntRect>& rects) |
return result; |
} |
-#ifndef NDEBUG |
- // Prints the rect to the screen. |
-void IntRect::show() const |
-{ |
- LayoutRect(*this).show(); |
-} |
- |
String IntRect::toString() const |
{ |
- return String::format("%s %s", location().toString().ascii().data(), size().toString().ascii().data()); |
+ return String::format("%s %s", |
+ location().toString().ascii().data(), |
+ size().toString().ascii().data()); |
} |
-#endif |
} // namespace blink |