X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fplatform%2Fgeometry%2FLayoutRect.h;h=2890adda0dededa5727c5bfc8d5e63927fe89edd;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=4eef924975748e85f6ec361131b642f4e1cc4233;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/platform/geometry/LayoutRect.h b/src/third_party/WebKit/Source/platform/geometry/LayoutRect.h index 4eef924..2890add 100644 --- a/src/third_party/WebKit/Source/platform/geometry/LayoutRect.h +++ b/src/third_party/WebKit/Source/platform/geometry/LayoutRect.h @@ -169,6 +169,11 @@ public: return LayoutRect(LayoutUnit::nearlyMin() / 2, LayoutUnit::nearlyMin() / 2, LayoutUnit::nearlyMax(), LayoutUnit::nearlyMax()); } +#ifndef NDEBUG + // Prints the rect to the screen. + void show(bool showRawValue = false) const; +#endif + private: LayoutPoint m_location; LayoutSize m_size;