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

Unified Diff: Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp

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
Index: Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp
diff --git a/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp b/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp
index 7d57b5cb9cf8bc94a465cf0b0460cbcc20858d38..a169a7be04edd7cf826944d834e4511c7264562e 100644
--- a/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp
+++ b/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp
@@ -50,7 +50,7 @@ static bool shouldAppendLayer(const Layer& layer)
{
if (!RuntimeEnabledFeatures::overlayFullscreenVideoEnabled())
return true;
- Node* node = layer.renderer()->node();
+ Node* node = layer.layoutObject()->node();
if (node && isHTMLVideoElement(*node)) {
HTMLVideoElement* element = toHTMLVideoElement(node);
// For WebRTC, video frame contains all the data and no hardware surface is used.
@@ -101,8 +101,8 @@ void GraphicsLayerTreeBuilder::rebuild(Layer& layer, AncestorInfo info)
if (hasCompositedLayerMapping) {
bool parented = false;
- if (layer.renderer()->isLayoutPart())
- parented = LayerCompositor::parentFrameContentLayers(toLayoutPart(layer.renderer()));
+ if (layer.layoutObject()->isLayoutPart())
+ parented = LayerCompositor::parentFrameContentLayers(toLayoutPart(layer.layoutObject()));
if (!parented)
currentCompositedLayerMapping->parentForSublayers()->setChildren(layerChildren);
« no previous file with comments | « Source/core/layout/compositing/CompositingRequirementsUpdater.cpp ('k') | Source/core/layout/compositing/LayerCompositor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698