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

Unified Diff: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp

Issue 2570423003: Remove paintOffsetTranslation for fixed-position elements. (Closed)
Patch Set: none Created 4 years 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/compositing/PaintLayerCompositor.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
index e6946abb8ae8463db12172c3e46d9d33bb651a5a..212e75d5aa0b62d2861d0afc4425097d882d958f 100644
--- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
@@ -452,9 +452,10 @@ void PaintLayerCompositor::updateIfNeeded() {
m_needsUpdateFixedBackground = false;
}
- for (unsigned i = 0; i < layersNeedingPaintInvalidation.size(); i++)
+ for (unsigned i = 0; i < layersNeedingPaintInvalidation.size(); i++) {
forceRecomputeVisualRectsIncludingNonCompositingDescendants(
layersNeedingPaintInvalidation[i]->layoutObject());
+ }
// Inform the inspector that the layer tree has changed.
if (m_layoutView.frame()->isMainFrame())

Powered by Google App Engine
This is Rietveld 408576698