Chromium Code Reviews| 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..76411117960321ba98dc88639ae5208bf65f1981 100644 |
| --- a/Source/core/paint/SVGRootPainter.h |
| +++ b/Source/core/paint/PartPainter.h |
| @@ -2,25 +2,26 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef SVGRootPainter_h |
|
mstensho (USE GERRIT)
2014/11/12 08:54:16
I think we got outsmarted by (the default) --find-
chrishtr
2014/11/12 17:17:22
This file is so short and simple, I don't think it
|
| -#define SVGRootPainter_h |
| +#ifndef PartPainter_h |
| +#define PartPainter_h |
| namespace blink { |
| struct PaintInfo; |
| class LayoutPoint; |
| -class RenderSVGRoot; |
| +class RenderPart; |
| -class SVGRootPainter { |
| +class PartPainter { |
| public: |
| - SVGRootPainter(RenderSVGRoot& renderSVGRoot) : m_renderSVGRoot(renderSVGRoot) { } |
| + PartPainter(RenderPart& renderPart) : m_renderPart(renderPart) { } |
| void paint(PaintInfo&, const LayoutPoint&); |
| + void paintContents(PaintInfo&, const LayoutPoint&); |
| private: |
| - RenderSVGRoot& m_renderSVGRoot; |
| + RenderPart& m_renderPart; |
| }; |
| } // namespace blink |
| -#endif // SVGRootPainter_h |
| +#endif // PartPainter_h |