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

Unified Diff: Source/core/layout/LayerStackingNode.h

Issue 945803004: Merge back LayoutLayerModelObject into RenderBoxModelObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Better rebasing. 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/LayerScrollableArea.cpp ('k') | Source/core/layout/LayerStackingNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayerStackingNode.h
diff --git a/Source/core/layout/LayerStackingNode.h b/Source/core/layout/LayerStackingNode.h
index 20dd3e96bcbeff0af59f9cc642a61974f90a0af3..91d02b3fb870b65f3da38e1d8d24706ccf845a93 100644
--- a/Source/core/layout/LayerStackingNode.h
+++ b/Source/core/layout/LayerStackingNode.h
@@ -45,7 +45,7 @@
#ifndef LayerStackingNode_h
#define LayerStackingNode_h
-#include "core/layout/LayoutLayerModelObject.h"
+#include "core/layout/LayoutBoxModelObject.h"
#include "wtf/Noncopyable.h"
#include "wtf/OwnPtr.h"
#include "wtf/Vector.h"
@@ -55,6 +55,7 @@ namespace blink {
class Layer;
class LayerCompositor;
class LayoutStyle;
+class LayoutBoxModelObject;
class LayerStackingNode {
WTF_MAKE_NONCOPYABLE(LayerStackingNode);
@@ -139,8 +140,8 @@ private:
bool isDirtyStackingContext() const { return m_zOrderListsDirty && isStackingContext(); }
LayerCompositor* compositor() const;
- // FIXME: Investigate changing this to Renderbox.
- LayoutLayerModelObject* renderer() const;
+ // We can't return a RenderBox as RenderInline can be a stacking context.
+ LayoutBoxModelObject* renderer() const;
Layer* m_layer;
« no previous file with comments | « Source/core/layout/LayerScrollableArea.cpp ('k') | Source/core/layout/LayerStackingNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698