Index: third_party/WebKit/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp |
diff --git a/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp b/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp |
index 51ffead721e65061681dff0ba91607aea1ff4c79..9eea8cc8647b9533061cf2b53e388bb0dd60c703 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/GraphicsLayerTreeBuilder.cpp |
@@ -40,7 +40,7 @@ GraphicsLayerTreeBuilder::GraphicsLayerTreeBuilder() {} |
GraphicsLayerTreeBuilder::~GraphicsLayerTreeBuilder() {} |
static bool shouldAppendLayer(const PaintLayer& layer) { |
- Node* node = layer.layoutObject()->node(); |
+ Node* node = layer.layoutObject().node(); |
if (node && isHTMLVideoElement(*node)) { |
HTMLVideoElement* element = toHTMLVideoElement(node); |
if (element->isFullscreen() && element->usesOverlayFullscreenVideo()) |
@@ -94,7 +94,7 @@ void GraphicsLayerTreeBuilder::rebuild(PaintLayer& layer, |
if (hasCompositedLayerMapping) { |
bool parented = false; |
- if (layer.layoutObject()->isLayoutPart()) |
+ if (layer.layoutObject().isLayoutPart()) |
parented = PaintLayerCompositor::attachFrameContentLayersToIframeLayer( |
toLayoutPart(layer.layoutObject())); |