| Index: third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| index 328f526b78a7372bf9597917619db1abcf696633..fe377fd40ae7a723f81edaf0ed32bea7a4453bab 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
|
| @@ -451,7 +451,7 @@ void LayoutView::invalidateTreeIfNeeded(const PaintInvalidationState& paintInval
|
| const LayoutBoxModelObject& paintInvalidationContainer = paintInvalidationState.paintInvalidationContainer();
|
| paintInvalidationState.mapLocalRectToPaintInvalidationBacking(dirtyRect);
|
| invalidatePaintUsingContainer(paintInvalidationContainer, dirtyRect, PaintInvalidationFull);
|
| - invalidateDisplayItemClientsWithPaintInvalidationState(paintInvalidationContainer, paintInvalidationState, PaintInvalidationFull);
|
| + invalidateDisplayItemClients(paintInvalidationContainer, PaintInvalidationFull);
|
| }
|
| LayoutBlock::invalidateTreeIfNeeded(paintInvalidationState);
|
| }
|
| @@ -986,10 +986,6 @@ FloatSize LayoutView::viewportSizeForViewportUnits() const
|
|
|
| void LayoutView::willBeDestroyed()
|
| {
|
| - // TODO(wangxianzhu): This is a workaround of crbug.com/570706.
|
| - // Should find and fix the root cause.
|
| - if (PaintLayer* layer = this->layer())
|
| - layer->setNeedsRepaint();
|
| LayoutBlockFlow::willBeDestroyed();
|
| m_compositor.reset();
|
| }
|
|
|