Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(600)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.cpp

Issue 2060053002: Set paintingLayerNeedsRepaint() in layout tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Set paintingLayerNeedsRepaint() in layout tree Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutText.cpp ('k') | third_party/WebKit/Source/core/layout/PaintInvalidationState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698