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

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

Issue 923533002: Move RenderSVGContainer to layout/svg/LayoutSVGContainer. (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/layout/LayoutTreeAsText.cpp ('k') | Source/core/layout/svg/LayoutSVGContainer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGContainer.h
diff --git a/Source/core/rendering/svg/RenderSVGContainer.h b/Source/core/layout/svg/LayoutSVGContainer.h
similarity index 90%
rename from Source/core/rendering/svg/RenderSVGContainer.h
rename to Source/core/layout/svg/LayoutSVGContainer.h
index 55af98615afbffafc30c9507b53a39c6e2080812..aa9f0e894f3be9049fa8166fcd8825e3bf0e940d 100644
--- a/Source/core/rendering/svg/RenderSVGContainer.h
+++ b/Source/core/layout/svg/LayoutSVGContainer.h
@@ -20,8 +20,8 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef RenderSVGContainer_h
-#define RenderSVGContainer_h
+#ifndef LayoutSVGContainer_h
+#define LayoutSVGContainer_h
#include "core/rendering/svg/RenderSVGModelObject.h"
@@ -29,12 +29,12 @@ namespace blink {
class SVGElement;
-class RenderSVGContainer : public RenderSVGModelObject {
+class LayoutSVGContainer : public RenderSVGModelObject {
public:
- explicit RenderSVGContainer(SVGElement*);
- virtual ~RenderSVGContainer();
+ explicit LayoutSVGContainer(SVGElement*);
+ virtual ~LayoutSVGContainer();
- // If you have a RenderSVGContainer, use firstChild or lastChild instead.
+ // If you have a LayoutSVGContainer, use firstChild or lastChild instead.
void slowFirstChild() const = delete;
void slowLastChild() const = delete;
@@ -55,7 +55,7 @@ protected:
virtual const LayoutObjectChildList* virtualChildren() const override final { return children(); }
virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVGContainer || RenderSVGModelObject::isOfType(type); }
- virtual const char* renderName() const override { return "RenderSVGContainer"; }
+ virtual const char* renderName() const override { return "LayoutSVGContainer"; }
virtual void layout() override;
@@ -94,8 +94,8 @@ private:
mutable bool m_hasNonIsolatedBlendingDescendantsDirty : 1;
};
-DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderSVGContainer, isSVGContainer());
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGContainer, isSVGContainer());
} // namespace blink
-#endif // RenderSVGContainer_h
+#endif // LayoutSVGContainer_h
« no previous file with comments | « Source/core/layout/LayoutTreeAsText.cpp ('k') | Source/core/layout/svg/LayoutSVGContainer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698