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

Unified Diff: Source/core/rendering/svg/SVGRenderingContext.h

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (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
Index: Source/core/rendering/svg/SVGRenderingContext.h
diff --git a/Source/core/rendering/svg/SVGRenderingContext.h b/Source/core/rendering/svg/SVGRenderingContext.h
index 4cc9a2e7b5b8893145b72a38a792876d34ef244d..86aa9c8802e8fca945a6d184587bd1308ee0cfa3 100644
--- a/Source/core/rendering/svg/SVGRenderingContext.h
+++ b/Source/core/rendering/svg/SVGRenderingContext.h
@@ -34,7 +34,7 @@
namespace blink {
-class RenderObject;
+class LayoutObject;
class RenderSVGResourceFilter;
class RenderSVGResourceMasker;
class SVGResources;
@@ -51,7 +51,7 @@ private:
class SVGRenderingContext {
STACK_ALLOCATED();
public:
- SVGRenderingContext(RenderObject& object, const PaintInfo& paintInfo)
+ SVGRenderingContext(LayoutObject& object, const PaintInfo& paintInfo)
: m_object(&object)
, m_paintInfo(paintInfo)
, m_originalPaintInfo(&paintInfo)
@@ -71,9 +71,9 @@ public:
// Return true if these operations aren't necessary or if they are successfully applied.
bool applyClipMaskAndFilterIfNecessary();
- static void renderSubtree(GraphicsContext*, RenderObject*);
+ static void renderSubtree(GraphicsContext*, LayoutObject*);
- static float calculateScreenFontSizeScalingFactor(const RenderObject*);
+ static float calculateScreenFontSizeScalingFactor(const LayoutObject*);
private:
void applyCompositingIfNecessary();
@@ -89,7 +89,7 @@ private:
bool isIsolationInstalled() const;
- RawPtrWillBeMember<RenderObject> m_object;
+ RawPtrWillBeMember<LayoutObject> m_object;
PaintInfo m_paintInfo;
const PaintInfo* m_originalPaintInfo;
RawPtrWillBeMember<RenderSVGResourceFilter> m_filter;
« no previous file with comments | « Source/core/rendering/svg/SVGRenderTreeAsText.cpp ('k') | Source/core/rendering/svg/SVGRenderingContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698