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

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

Issue 927583002: Moving RenderSVG* files from rendering/ to layout/ (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/svg/LayoutSVGForeignObject.cpp ('k') | Source/core/layout/svg/LayoutSVGImage.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/svg/LayoutSVGImage.h
diff --git a/Source/core/rendering/svg/RenderSVGImage.h b/Source/core/layout/svg/LayoutSVGImage.h
similarity index 88%
rename from Source/core/rendering/svg/RenderSVGImage.h
rename to Source/core/layout/svg/LayoutSVGImage.h
index 97834a769e5648cd9028b3541f71371a4602dada..8331149622fdac04dcfc543d4f77d157924f0732 100644
--- a/Source/core/rendering/svg/RenderSVGImage.h
+++ b/Source/core/layout/svg/LayoutSVGImage.h
@@ -21,8 +21,8 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef RenderSVGImage_h
-#define RenderSVGImage_h
+#ifndef LayoutSVGImage_h
+#define LayoutSVGImage_h
#include "core/rendering/svg/RenderSVGModelObject.h"
@@ -33,10 +33,10 @@ namespace blink {
class LayoutImageResource;
class SVGImageElement;
-class RenderSVGImage final : public RenderSVGModelObject {
+class LayoutSVGImage final : public RenderSVGModelObject {
public:
- explicit RenderSVGImage(SVGImageElement*);
- virtual ~RenderSVGImage();
+ explicit LayoutSVGImage(SVGImageElement*);
+ virtual ~LayoutSVGImage();
virtual void destroy() override;
bool updateImageViewport();
@@ -52,7 +52,7 @@ public:
virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVGImage || RenderSVGModelObject::isOfType(type); }
private:
- virtual const char* renderName() const override { return "RenderSVGImage"; }
+ virtual const char* renderName() const override { return "LayoutSVGImage"; }
virtual FloatRect strokeBoundingBox() const override { return m_objectBoundingBox; }
@@ -78,8 +78,8 @@ private:
RefPtr<const SkPicture> m_bufferedForeground;
};
-DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderSVGImage, isSVGImage());
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutSVGImage, isSVGImage());
} // namespace blink
-#endif // RenderSVGImage_h
+#endif // LayoutSVGImage_h
« no previous file with comments | « Source/core/layout/svg/LayoutSVGForeignObject.cpp ('k') | Source/core/layout/svg/LayoutSVGImage.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698