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

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

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/LayerStackingNode.h ('k') | Source/core/layout/LayoutBR.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayerStackingNode.cpp
diff --git a/Source/core/layout/LayerStackingNode.cpp b/Source/core/layout/LayerStackingNode.cpp
index 3d6ac5d358d4a2680b538b8c42475af23c5a62a9..90af02fd7c63d4bb89812b71cecf6a74ab67d2f2 100644
--- a/Source/core/layout/LayerStackingNode.cpp
+++ b/Source/core/layout/LayerStackingNode.cpp
@@ -159,7 +159,7 @@ void LayerStackingNode::rebuildZOrderLists()
for (LayoutObject* child = view->firstChild(); child; child = child->nextSibling()) {
Element* childElement = (child->node() && child->node()->isElementNode()) ? toElement(child->node()) : 0;
if (childElement && childElement->isInTopLayer()) {
- Layer* layer = toLayoutLayerModelObject(child)->layer();
+ Layer* layer = toLayoutBoxModelObject(child)->layer();
// Create the buffer if it doesn't exist yet.
if (!m_posZOrderList)
m_posZOrderList = adoptPtr(new Vector<LayerStackingNode*>);
@@ -321,7 +321,7 @@ LayerStackingNode* LayerStackingNode::ancestorStackingContextNode() const
return 0;
}
-LayoutLayerModelObject* LayerStackingNode::renderer() const
+LayoutBoxModelObject* LayerStackingNode::renderer() const
{
return m_layer->renderer();
}
« no previous file with comments | « Source/core/layout/LayerStackingNode.h ('k') | Source/core/layout/LayoutBR.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698