| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef SVGForeignObjectPainter_h | 5 #ifndef SVGForeignObjectPainter_h |
| 6 #define SVGForeignObjectPainter_h | 6 #define SVGForeignObjectPainter_h |
| 7 | 7 |
| 8 namespace blink { | 8 namespace blink { |
| 9 | 9 |
| 10 struct PaintInfo; | 10 struct PaintInfo; |
| 11 class RenderSVGForeignObject; | 11 class LayoutSVGForeignObject; |
| 12 | 12 |
| 13 class SVGForeignObjectPainter { | 13 class SVGForeignObjectPainter { |
| 14 public: | 14 public: |
| 15 SVGForeignObjectPainter(RenderSVGForeignObject& renderSVGForeignObject) : m_
renderSVGForeignObject(renderSVGForeignObject) { } | 15 SVGForeignObjectPainter(LayoutSVGForeignObject& renderSVGForeignObject) : m_
renderSVGForeignObject(renderSVGForeignObject) { } |
| 16 void paint(const PaintInfo&); | 16 void paint(const PaintInfo&); |
| 17 | 17 |
| 18 private: | 18 private: |
| 19 RenderSVGForeignObject& m_renderSVGForeignObject; | 19 LayoutSVGForeignObject& m_renderSVGForeignObject; |
| 20 }; | 20 }; |
| 21 | 21 |
| 22 } // namespace blink | 22 } // namespace blink |
| 23 | 23 |
| 24 #endif // SVGForeignObjectPainter_h | 24 #endif // SVGForeignObjectPainter_h |
| OLD | NEW |