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

Unified Diff: Source/core/layout/svg/LayoutSVGRect.h

Issue 913143006: Move RenderSVGRect to layout/svg (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/core.gypi ('k') | Source/core/layout/svg/LayoutSVGRect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGRect.h
diff --git a/Source/core/rendering/svg/RenderSVGRect.h b/Source/core/layout/svg/LayoutSVGRect.h
similarity index 89%
rename from Source/core/rendering/svg/RenderSVGRect.h
rename to Source/core/layout/svg/LayoutSVGRect.h
index e040202124f9d794fe3111b5b81cc95ccf8cd2d7..b036cbc93f17655396b5075a0e1d5e5daece5607 100644
--- a/Source/core/rendering/svg/RenderSVGRect.h
+++ b/Source/core/layout/svg/LayoutSVGRect.h
@@ -25,22 +25,22 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef RenderSVGRect_h
-#define RenderSVGRect_h
+#ifndef LayoutSVGRect_h
+#define LayoutSVGRect_h
#include "core/rendering/svg/RenderSVGShape.h"
namespace blink {
-class RenderSVGRect final : public RenderSVGShape {
+class LayoutSVGRect final : public RenderSVGShape {
public:
- explicit RenderSVGRect(SVGRectElement*);
- virtual ~RenderSVGRect();
+ explicit LayoutSVGRect(SVGRectElement*);
+ virtual ~LayoutSVGRect();
virtual ShapeGeometryCodePath geometryCodePath() const override { return m_usePathFallback ? PathGeometry : RectGeometryFastPath; }
private:
- virtual const char* renderName() const override { return "RenderSVGRect"; }
+ virtual const char* renderName() const override { return "LayoutSVGRect"; }
virtual void updateShapeFromElement() override;
virtual bool isShapeEmpty() const override { return m_usePathFallback ? RenderSVGShape::isShapeEmpty() : m_fillBoundingBox.isEmpty(); }
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/layout/svg/LayoutSVGRect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698