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

Unified Diff: Source/core/rendering/RenderScrollbarPart.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
« no previous file with comments | « Source/core/rendering/RenderReplica.h ('k') | Source/core/rendering/RenderScrollbarPart.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderScrollbarPart.h
diff --git a/Source/core/rendering/RenderScrollbarPart.h b/Source/core/rendering/RenderScrollbarPart.h
index 1ea0102f526570c99c578c9170fc934094d67881..2f0a9feaf6134c123f1124b89a014dfc08ead087 100644
--- a/Source/core/rendering/RenderScrollbarPart.h
+++ b/Source/core/rendering/RenderScrollbarPart.h
@@ -72,8 +72,8 @@ public:
return RenderBlock::marginRight();
}
- virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectRenderScrollbarPart || RenderBlock::isOfType(type); }
- RenderObject* rendererOwningScrollbar() const;
+ virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectRenderScrollbarPart || RenderBlock::isOfType(type); }
+ LayoutObject* rendererOwningScrollbar() const;
protected:
virtual void styleWillChange(StyleDifference, const RenderStyle& newStyle) override;
@@ -108,7 +108,7 @@ private:
ScrollbarPart m_part;
};
-DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderScrollbarPart, isRenderScrollbarPart());
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderScrollbarPart, isRenderScrollbarPart());
} // namespace blink
« no previous file with comments | « Source/core/rendering/RenderReplica.h ('k') | Source/core/rendering/RenderScrollbarPart.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698