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

Unified Diff: Source/core/layout/LayoutLayerModelObject.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/LayoutCounter.cpp ('k') | Source/core/layout/LayoutLayerModelObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutLayerModelObject.h
diff --git a/Source/core/layout/LayoutLayerModelObject.h b/Source/core/layout/LayoutLayerModelObject.h
index 88224c53ad8f4ba8c1dca6b3484f8efb09f937e3..af7dbdb5abe8077f1a38a6530ed0a318268af572 100644
--- a/Source/core/layout/LayoutLayerModelObject.h
+++ b/Source/core/layout/LayoutLayerModelObject.h
@@ -23,7 +23,7 @@
#ifndef LayoutLayerModelObject_h
#define LayoutLayerModelObject_h
-#include "core/rendering/RenderObject.h"
+#include "core/layout/LayoutObject.h"
namespace blink {
@@ -39,7 +39,7 @@ enum LayerType {
ForcedLayer
};
-class LayoutLayerModelObject : public RenderObject {
+class LayoutLayerModelObject : public LayoutObject {
public:
explicit LayoutLayerModelObject(ContainerNode*);
virtual ~LayoutLayerModelObject();
@@ -62,7 +62,7 @@ public:
virtual bool backgroundIsKnownToBeOpaqueInRect(const LayoutRect&) const { return false; }
// This is null for anonymous renderers.
- ContainerNode* node() const { return toContainerNode(RenderObject::node()); }
+ ContainerNode* node() const { return toContainerNode(LayoutObject::node()); }
virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) override;
@@ -87,7 +87,7 @@ private:
static bool s_wasFloating;
};
-DEFINE_RENDER_OBJECT_TYPE_CASTS(LayoutLayerModelObject, isLayoutLayerModelObject());
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutLayerModelObject, isLayoutLayerModelObject());
} // namespace blink
« no previous file with comments | « Source/core/layout/LayoutCounter.cpp ('k') | Source/core/layout/LayoutLayerModelObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698