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 4d0b6ba9a6f89a203b944deb16c160f5449a7548..862ee2caff5d7b5dff06e7f57ffc0059aaf8e0a1 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -1100,13 +1100,13 @@ void FrameView::invalidateTreeIfNeeded(PaintInvalidationState& paintInvalidation |
rootForPaintInvalidation.invalidateTreeIfNeeded(paintInvalidationState); |
if (!m_frame->settings() || !m_frame->settings()->rootLayerScrolls()) { |
- paintInvalidationState.setViewClippingAndScrollOffsetDisabled(true); |
+ LayoutView::setViewClippingAndScrollOffsetDisabled(true); |
invalidatePaintOfScrollControlsIfNeeded(paintInvalidationState); |
- paintInvalidationState.setViewClippingAndScrollOffsetDisabled(false); |
+ LayoutView::setViewClippingAndScrollOffsetDisabled(false); |
} |
#if ENABLE(ASSERT) |
- layoutView()->assertSubtreeClearedPaintInvalidationState(); |
+ layoutView()->assertSubtreeClearedPaintInvalidationFlags(); |
#endif |
if (m_frame->selection().isCaretBoundsDirty()) |
@@ -2114,7 +2114,7 @@ IntRect FrameView::windowClipRect(IncludeScrollbarsInRect scrollbarInclusion) co |
ASSERT(m_frame->view() == this); |
LayoutRect clipRect(LayoutPoint(), LayoutSize(visibleContentSize(scrollbarInclusion))); |
- layoutView()->mapToVisibleRectInAncestorSpace(&layoutView()->containerForPaintInvalidation(), clipRect, nullptr); |
+ layoutView()->mapToVisibleRectInAncestorSpace(&layoutView()->containerForPaintInvalidation(), clipRect); |
return enclosingIntRect(clipRect); |
} |
@@ -3972,7 +3972,7 @@ void FrameView::collectFrameTimingRequests(GraphicsLayerFrameTimingRequests& gra |
if (!graphicsLayer) |
return; |
- PaintLayer::mapRectToPaintInvalidationBacking(localFrame->contentLayoutObject(), &paintInvalidationContainer, viewRect); |
+ PaintLayer::mapRectToPaintInvalidationBacking(*localFrame->contentLayoutObject(), paintInvalidationContainer, viewRect); |
graphicsLayerTimingRequests.add(graphicsLayer, Vector<std::pair<int64_t, WebRect>>()).storedValue->value.append(std::make_pair(m_frame->frameID(), enclosingIntRect(viewRect))); |
} |