| Index: third_party/WebKit/Source/core/paint/PaintLayerResourceInfo.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerResourceInfo.cpp b/third_party/WebKit/Source/core/paint/PaintLayerResourceInfo.cpp
|
| index 5bd4753dc0fdf625c178b6a47adbdd437395062d..56d2e8ce00a5a8e1a6c82936fbcc6e94286ff965 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerResourceInfo.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerResourceInfo.cpp
|
| @@ -43,30 +43,30 @@ PaintLayerResourceInfo::~PaintLayerResourceInfo() {
|
|
|
| TreeScope* PaintLayerResourceInfo::treeScope() {
|
| DCHECK(m_layer);
|
| - Node* node = m_layer->layoutObject()->node();
|
| + Node* node = m_layer->layoutObject().node();
|
| return node ? &node->treeScope() : nullptr;
|
| }
|
|
|
| void PaintLayerResourceInfo::resourceContentChanged() {
|
| DCHECK(m_layer);
|
| - LayoutObject* layoutObject = m_layer->layoutObject();
|
| - layoutObject->setShouldDoFullPaintInvalidation();
|
| + LayoutObject& layoutObject = m_layer->layoutObject();
|
| + layoutObject.setShouldDoFullPaintInvalidation();
|
| // The effect paint property nodes depend on SVG filters so we need
|
| // to update these properties when filter resources change.
|
| - layoutObject->setNeedsPaintPropertyUpdate();
|
| - const ComputedStyle& style = layoutObject->styleRef();
|
| + layoutObject.setNeedsPaintPropertyUpdate();
|
| + const ComputedStyle& style = layoutObject.styleRef();
|
| if (style.hasFilter() && style.filter().hasReferenceFilter())
|
| invalidateFilterChain();
|
| }
|
|
|
| void PaintLayerResourceInfo::resourceElementChanged() {
|
| DCHECK(m_layer);
|
| - LayoutObject* layoutObject = m_layer->layoutObject();
|
| - layoutObject->setShouldDoFullPaintInvalidation();
|
| + LayoutObject& layoutObject = m_layer->layoutObject();
|
| + layoutObject.setShouldDoFullPaintInvalidation();
|
| // The effect paint property nodes depend on SVG filters so we need
|
| // to update these properties when filter resources change.
|
| - layoutObject->setNeedsPaintPropertyUpdate();
|
| - const ComputedStyle& style = layoutObject->styleRef();
|
| + layoutObject.setNeedsPaintPropertyUpdate();
|
| + const ComputedStyle& style = layoutObject.styleRef();
|
| if (style.hasFilter() && style.filter().hasReferenceFilter())
|
| invalidateFilterChain();
|
| }
|
|
|