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

Unified Diff: Source/core/layout/CounterNode.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/layout/CounterNode.h
diff --git a/Source/core/layout/CounterNode.h b/Source/core/layout/CounterNode.h
index 1e36f37fdf94c1e9d12eb6a93dc2febab08b48ea..24fcf0a04054978e9224665a58d211b43a237e6f 100644
--- a/Source/core/layout/CounterNode.h
+++ b/Source/core/layout/CounterNode.h
@@ -37,18 +37,18 @@
namespace blink {
-class RenderObject;
+class LayoutObject;
class LayoutCounter;
class CounterNode : public RefCounted<CounterNode> {
public:
- static PassRefPtr<CounterNode> create(RenderObject&, bool isReset, int value);
+ static PassRefPtr<CounterNode> create(LayoutObject&, bool isReset, int value);
~CounterNode();
bool actsAsReset() const { return m_hasResetType || !m_parent; }
bool hasResetType() const { return m_hasResetType; }
int value() const { return m_value; }
int countInParent() const { return m_countInParent; }
- RenderObject& owner() const { return m_owner; }
+ LayoutObject& owner() const { return m_owner; }
void addRenderer(LayoutCounter*);
void removeRenderer(LayoutCounter*);
@@ -71,7 +71,7 @@ public:
void removeChild(CounterNode*);
private:
- CounterNode(RenderObject&, bool isReset, int value);
+ CounterNode(LayoutObject&, bool isReset, int value);
int computeCountInParent() const;
// Invalidates the text in the renderer of this counter, if any,
// and in the renderers of all descendants of this counter, if any.
@@ -81,7 +81,7 @@ private:
bool m_hasResetType;
int m_value;
int m_countInParent;
- RenderObject& m_owner;
+ LayoutObject& m_owner;
LayoutCounter* m_rootRenderer;
CounterNode* m_parent;

Powered by Google App Engine
This is Rietveld 408576698