Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1686)

Unified Diff: Source/core/rendering/svg/SVGRenderTreeAsText.h

Issue 595603002: Cleanup RenderTreeAsText (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/RenderTreeAsText.cpp ('k') | Source/core/rendering/svg/SVGRenderTreeAsText.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/rendering/RenderTreeAsText.cpp ('k') | Source/core/rendering/svg/SVGRenderTreeAsText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698