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

Unified Diff: Source/core/inspector/InspectorLayerTreeAgent.cpp

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase to master 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/inspector/InspectorLayerTreeAgent.cpp
diff --git a/Source/core/inspector/InspectorLayerTreeAgent.cpp b/Source/core/inspector/InspectorLayerTreeAgent.cpp
index a938a28ae5d0065dcb25d6d965b7973bce9e1e01..0dd2ba09efb3f4af2a620edda8a015fd672fcb71 100644
--- a/Source/core/inspector/InspectorLayerTreeAgent.cpp
+++ b/Source/core/inspector/InspectorLayerTreeAgent.cpp
@@ -232,16 +232,16 @@ PassRefPtr<TypeBuilder::Array<TypeBuilder::LayerTree::Layer> > InspectorLayerTre
void InspectorLayerTreeAgent::buildLayerIdToNodeIdMap(Layer* root, LayerIdToNodeIdMap& layerIdToNodeIdMap)
{
if (root->hasCompositedLayerMapping()) {
- if (Node* node = root->renderer()->generatingNode()) {
+ if (Node* node = root->layoutObject()->generatingNode()) {
GraphicsLayer* graphicsLayer = root->compositedLayerMapping()->childForSuperlayers();
layerIdToNodeIdMap.set(graphicsLayer->platformLayer()->id(), idForNode(node));
}
}
for (Layer* child = root->firstChild(); child; child = child->nextSibling())
buildLayerIdToNodeIdMap(child, layerIdToNodeIdMap);
- if (!root->renderer()->isLayoutIFrame())
+ if (!root->layoutObject()->isLayoutIFrame())
return;
- FrameView* childFrameView = toFrameView(toLayoutPart(root->renderer())->widget());
+ FrameView* childFrameView = toFrameView(toLayoutPart(root->layoutObject())->widget());
if (LayoutView* childLayoutView = childFrameView->layoutView()) {
if (LayerCompositor* childCompositor = childLayoutView->compositor())
buildLayerIdToNodeIdMap(childCompositor->rootLayer(), layerIdToNodeIdMap);

Powered by Google App Engine
This is Rietveld 408576698