| Index: Source/platform/text/TextStream.h | 
| diff --git a/Source/platform/text/TextStream.h b/Source/platform/text/TextStream.h | 
| index d7ecf1c2ed8d0dfcb7baac8cd599de475e4e54ae..9e0c12c43b332d1ae03538546e345d6c162fdf69 100644 | 
| --- a/Source/platform/text/TextStream.h | 
| +++ b/Source/platform/text/TextStream.h | 
| @@ -28,11 +28,19 @@ | 
|  | 
| #include "platform/PlatformExport.h" | 
| #include "wtf/Forward.h" | 
| +#include "wtf/Vector.h" | 
| #include "wtf/text/StringBuilder.h" | 
| #include "wtf/unicode/Unicode.h" | 
|  | 
| namespace WebCore { | 
|  | 
| +class IntPoint; | 
| +class IntRect; | 
| +class LayoutPoint; | 
| +class FloatPoint; | 
| +class FloatRect; | 
| +class FloatSize; | 
| + | 
| class PLATFORM_EXPORT TextStream { | 
| public: | 
| struct FormatNumberRespectingIntegers { | 
| @@ -60,6 +68,30 @@ private: | 
| StringBuilder m_text; | 
| }; | 
|  | 
| +PLATFORM_EXPORT TextStream& operator<<(TextStream&, const IntPoint&); | 
| +PLATFORM_EXPORT TextStream& operator<<(TextStream&, const IntRect&); | 
| +PLATFORM_EXPORT TextStream& operator<<(TextStream&, const FloatPoint&); | 
| +PLATFORM_EXPORT TextStream& operator<<(TextStream&, const FloatSize&); | 
| +PLATFORM_EXPORT TextStream& operator<<(TextStream&, const FloatRect&); | 
| + | 
| +PLATFORM_EXPORT void writeIndent(TextStream&, int indent); | 
| + | 
| +template<typename Item> | 
| +TextStream& operator<<(TextStream& ts, const Vector<Item>& vector) | 
| +{ | 
| +    ts << "["; | 
| + | 
| +    unsigned size = vector.size(); | 
| +    for (unsigned i = 0; i < size; ++i) { | 
| +        ts << vector[i]; | 
| +        if (i < size - 1) | 
| +            ts << ", "; | 
| +    } | 
| + | 
| +    ts << "]"; | 
| +    return ts; | 
| +} | 
| + | 
| } | 
|  | 
| #endif | 
|  |