Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / platform / geometry / IntRect.cpp
index 6768f84..4a61fab 100644 (file)
@@ -171,4 +171,12 @@ IntRect unionRect(const Vector<IntRect>& rects)
     return result;
 }
 
+#ifndef NDEBUG
+    // Prints the rect to the screen.
+void IntRect::show() const
+{
+    LayoutRect(*this).show();
+}
+#endif
+
 } // namespace WebCore