Index: Source/core/paint/PartPainter.h |
diff --git a/Source/core/paint/SVGRootPainter.h b/Source/core/paint/PartPainter.h |
similarity index 54% |
copy from Source/core/paint/SVGRootPainter.h |
copy to Source/core/paint/PartPainter.h |
index 0c169dec2454c2df91701c918cf5e37631638981..51fa38beb9c01bed18fa9e51ee3c59cc35287558 100644 |
--- a/Source/core/paint/SVGRootPainter.h |
+++ b/Source/core/paint/PartPainter.h |
@@ -2,25 +2,27 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef SVGRootPainter_h |
-#define SVGRootPainter_h |
+#ifndef PartPainter_h |
+#define PartPainter_h |
namespace blink { |
-struct PaintInfo; |
class LayoutPoint; |
-class RenderSVGRoot; |
+struct PaintInfo; |
+class RenderPart; |
-class SVGRootPainter { |
+class PartPainter { |
chrishtr
2014/11/01 23:44:10
Like Levi said, please split off the PartPainter r
trchen
2014/11/02 10:36:46
Acknowledged.
|
public: |
- SVGRootPainter(RenderSVGRoot& renderSVGRoot) : m_renderSVGRoot(renderSVGRoot) { } |
+ PartPainter(RenderPart& renderPart) : m_renderPart(renderPart) { } |
void paint(PaintInfo&, const LayoutPoint&); |
private: |
- RenderSVGRoot& m_renderSVGRoot; |
+ void paintContents(PaintInfo&, const LayoutPoint&); |
+ |
+ RenderPart& m_renderPart; |
}; |
} // namespace blink |
-#endif // SVGRootPainter_h |
+#endif // PartPainter_h |