| Index: third_party/WebKit/Source/platform/geometry/IntRect.h
|
| diff --git a/third_party/WebKit/Source/platform/geometry/IntRect.h b/third_party/WebKit/Source/platform/geometry/IntRect.h
|
| index a8e5c2d2bd87fd7a4c4c00b2cfdef86fe601f848..7f3d6c12bda459d7f1c5c51674dce2d527faec15 100644
|
| --- a/third_party/WebKit/Source/platform/geometry/IntRect.h
|
| +++ b/third_party/WebKit/Source/platform/geometry/IntRect.h
|
| @@ -32,6 +32,7 @@
|
| #include "wtf/Forward.h"
|
| #include "wtf/Vector.h"
|
| #include "wtf/VectorTraits.h"
|
| +#include <iosfwd>
|
|
|
| #if OS(MACOSX)
|
| typedef struct CGRect CGRect;
|
| @@ -179,12 +180,6 @@ public:
|
|
|
| operator gfx::Rect() const;
|
|
|
| -#ifndef NDEBUG
|
| - // Prints the rect to the screen.
|
| - void show() const;
|
| - String toString() const;
|
| -#endif
|
| -
|
| private:
|
| IntPoint m_location;
|
| IntSize m_size;
|
| @@ -232,9 +227,7 @@ PLATFORM_EXPORT IntRect enclosingIntRect(const NSRect&);
|
| #endif
|
| #endif
|
|
|
| -// Redeclared here to avoid ODR issues.
|
| -// See platform/testing/GeometryPrinters.h.
|
| -void PrintTo(const IntRect&, std::ostream*);
|
| +PLATFORM_EXPORT std::ostream& operator<<(std::ostream&, const IntRect&);
|
|
|
| } // namespace blink
|
|
|
|
|