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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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 aaefefef3d844702ea367eeb4f059b304bb71f4e..6513218b3065963052b14b8a0507b360384620b7 100644
--- a/Source/core/layout/LayerStackingNode.h
+++ b/Source/core/layout/LayerStackingNode.h
@@ -63,10 +63,10 @@ public:
explicit LayerStackingNode(Layer*);
~LayerStackingNode();
- int zIndex() const { return renderer()->style()->zIndex(); }
+ int zIndex() const { return layoutObject()->style()->zIndex(); }
// A stacking context is a layer that has a non-auto z-index.
- bool isStackingContext() const { return !renderer()->style()->hasAutoZIndex(); }
+ bool isStackingContext() const { return !layoutObject()->style()->hasAutoZIndex(); }
// Update our normal and z-index lists.
void updateLayerListsIfNeeded();
@@ -141,7 +141,7 @@ private:
LayerCompositor* compositor() const;
// We can't return a LayoutBox as LayoutInline can be a stacking context.
- LayoutBoxModelObject* renderer() const;
+ LayoutBoxModelObject* layoutObject() 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