| Index: Source/core/rendering/svg/SVGRenderTreeAsText.h
|
| diff --git a/Source/core/rendering/svg/SVGRenderTreeAsText.h b/Source/core/rendering/svg/SVGRenderTreeAsText.h
|
| index e7d6fe7af1f7c4b4a3c8953cfe4c640b9e1f4654..5f69518a7aea641a33e769247638b9910aa0d9aa 100644
|
| --- a/Source/core/rendering/svg/SVGRenderTreeAsText.h
|
| +++ b/Source/core/rendering/svg/SVGRenderTreeAsText.h
|
| @@ -30,7 +30,6 @@
|
|
|
| namespace blink {
|
|
|
| -class Color;
|
| class RenderObject;
|
| class RenderSVGGradientStop;
|
| class RenderSVGImage;
|
| @@ -38,7 +37,6 @@ class RenderSVGInlineText;
|
| class RenderSVGShape;
|
| class RenderSVGRoot;
|
| class RenderSVGText;
|
| -class AffineTransform;
|
|
|
| // functions used by the main RenderTreeAsText code
|
| void write(TextStream&, const RenderSVGShape&, int indent);
|
| @@ -51,35 +49,6 @@ void writeSVGInlineText(TextStream&, const RenderSVGInlineText&, int indent);
|
| void writeSVGText(TextStream&, const RenderSVGText&, int indent);
|
| void writeResources(TextStream&, const RenderObject&, int indent);
|
|
|
| -// helper operators defined used in various classes to dump the render tree.
|
| -TextStream& operator<<(TextStream&, const AffineTransform&);
|
| -TextStream& operator<<(TextStream&, const Color&);
|
| -
|
| -// helper operators specific to dumping the render tree. these are used in various classes to dump the render tree
|
| -// these could be defined in separate namespace to avoid matching these generic signatures unintentionally.
|
| -
|
| -template<typename Item>
|
| -TextStream& operator<<(TextStream& ts, const Vector<Item*>& v)
|
| -{
|
| - ts << "[";
|
| -
|
| - for (unsigned i = 0; i < v.size(); i++) {
|
| - ts << *v[i];
|
| - if (i < v.size() - 1)
|
| - ts << ", ";
|
| - }
|
| -
|
| - ts << "]";
|
| - return ts;
|
| -}
|
| -
|
| -template<typename Pointer>
|
| -TextStream& operator<<(TextStream& ts, Pointer* t)
|
| -{
|
| - ts << reinterpret_cast<intptr_t>(t);
|
| - return ts;
|
| -}
|
| -
|
| } // namespace blink
|
|
|
| #endif // SVGRenderTreeAsText_h
|
|
|