| Index: third_party/WebKit/Source/core/frame/FrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| index 19eda267e1bda30418b0466058de7313612200d5..577aa2575eaa9992abae6009512cf5cadbdd568e 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -1514,14 +1514,15 @@ void FrameView::scrollContentsSlowPath()
|
| DisablePaintInvalidationStateAsserts disabler;
|
| layoutViewItem().invalidatePaintRectangle(LayoutRect(updateRect));
|
| }
|
| - if (LayoutPart* frameLayoutObject = m_frame->ownerLayoutObject()) {
|
| + LayoutPartItem frameLayoutItem = m_frame->ownerLayoutItem();
|
| + if (!frameLayoutItem.isNull()) {
|
| if (isEnclosedInCompositingLayer()) {
|
| - LayoutRect rect(frameLayoutObject->borderLeft() + frameLayoutObject->paddingLeft(),
|
| - frameLayoutObject->borderTop() + frameLayoutObject->paddingTop(),
|
| + LayoutRect rect(frameLayoutItem.borderLeft() + frameLayoutItem.paddingLeft(),
|
| + frameLayoutItem.borderTop() + frameLayoutItem.paddingTop(),
|
| LayoutUnit(visibleWidth()), LayoutUnit(visibleHeight()));
|
| // FIXME: We should not allow paint invalidation out of paint invalidation state. crbug.com/457415
|
| DisablePaintInvalidationStateAsserts disabler;
|
| - frameLayoutObject->invalidatePaintRectangle(rect);
|
| + frameLayoutItem.invalidatePaintRectangle(rect);
|
| return;
|
| }
|
| }
|
|
|