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

Unified Diff: Source/core/layout/LayoutCounter.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/layout/LayerStackingNode.cpp ('k') | Source/core/layout/LayoutCounter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutCounter.h
diff --git a/Source/core/layout/LayoutCounter.h b/Source/core/layout/LayoutCounter.h
index c5b8bbe66c610499c1952f624496323cf0335dd4..e3186b9307bb0069075ceea2e7e1f4788904702b 100644
--- a/Source/core/layout/LayoutCounter.h
+++ b/Source/core/layout/LayoutCounter.h
@@ -35,11 +35,11 @@ public:
virtual ~LayoutCounter();
virtual void destroy() override;
- static void destroyCounterNodes(RenderObject&);
- static void destroyCounterNode(RenderObject&, const AtomicString& identifier);
- static void rendererSubtreeAttached(RenderObject*);
- static void rendererRemovedFromTree(RenderObject*);
- static void rendererStyleChanged(RenderObject&, const RenderStyle* oldStyle, const RenderStyle* newStyle);
+ static void destroyCounterNodes(LayoutObject&);
+ static void destroyCounterNode(LayoutObject&, const AtomicString& identifier);
+ static void rendererSubtreeAttached(LayoutObject*);
+ static void rendererRemovedFromTree(LayoutObject*);
+ static void rendererStyleChanged(LayoutObject&, const RenderStyle* oldStyle, const RenderStyle* newStyle);
void updateCounter();
@@ -48,7 +48,7 @@ protected:
private:
virtual const char* renderName() const override;
- virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectCounter || RenderText::isOfType(type); }
+ virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectCounter || RenderText::isOfType(type); }
virtual PassRefPtr<StringImpl> originalText() const override;
// Removes the reference to the CounterNode associated with this renderer.
@@ -61,13 +61,13 @@ private:
friend class CounterNode;
};
-DEFINE_RENDER_OBJECT_TYPE_CASTS(LayoutCounter, isCounter());
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutCounter, isCounter());
} // namespace blink
#ifndef NDEBUG
// Outside the WebCore namespace for ease of invocation from gdb.
-void showCounterRendererTree(const blink::RenderObject*, const char* counterName = 0);
+void showCounterRendererTree(const blink::LayoutObject*, const char* counterName = 0);
#endif
#endif // LayoutCounter_h
« no previous file with comments | « Source/core/layout/LayerStackingNode.cpp ('k') | Source/core/layout/LayoutCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698