| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 LineLayoutSVGTextPath_h | 5 #ifndef LineLayoutSVGTextPath_h |
| 6 #define LineLayoutSVGTextPath_h | 6 #define LineLayoutSVGTextPath_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "core/layout/api/LineLayoutSVGInline.h" | 9 #include "core/layout/api/LineLayoutSVGInline.h" |
| 9 #include "core/layout/svg/LayoutSVGTextPath.h" | 10 #include "core/layout/svg/LayoutSVGTextPath.h" |
| 10 #include <memory> | |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class LineLayoutSVGTextPath : public LineLayoutSVGInline { | 14 class LineLayoutSVGTextPath : public LineLayoutSVGInline { |
| 15 public: | 15 public: |
| 16 explicit LineLayoutSVGTextPath(LayoutSVGTextPath* layout_svg_text_path) | 16 explicit LineLayoutSVGTextPath(LayoutSVGTextPath* layout_svg_text_path) |
| 17 : LineLayoutSVGInline(layout_svg_text_path) {} | 17 : LineLayoutSVGInline(layout_svg_text_path) {} |
| 18 | 18 |
| 19 explicit LineLayoutSVGTextPath(const LineLayoutItem& item) | 19 explicit LineLayoutSVGTextPath(const LineLayoutItem& item) |
| 20 : LineLayoutSVGInline(item) { | 20 : LineLayoutSVGInline(item) { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 40 } | 40 } |
| 41 | 41 |
| 42 const LayoutSVGTextPath* ToSVGTextPath() const { | 42 const LayoutSVGTextPath* ToSVGTextPath() const { |
| 43 return ToLayoutSVGTextPath(GetLayoutObject()); | 43 return ToLayoutSVGTextPath(GetLayoutObject()); |
| 44 } | 44 } |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace blink | 47 } // namespace blink |
| 48 | 48 |
| 49 #endif // LineLayoutSVGTextPath_h | 49 #endif // LineLayoutSVGTextPath_h |
| OLD | NEW |