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

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

Issue 2498823002: Paint invalidation of local attachment backgrounds (Closed)
Patch Set: - Created 4 years, 1 month 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/CompositedLayerMapping.cpp
diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
index ebe400f573dabc4f76ab52aa00f487e94387c851..ad71c1d49dff4bbe08fd965248f64ae7acd774a3 100644
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
@@ -1258,8 +1258,7 @@ void CompositedLayerMapping::updateScrollingLayerGeometry(
IntSize scrollSize(layoutBox->pixelSnappedScrollWidth(),
layoutBox->pixelSnappedScrollHeight());
- if (scrollSize != m_scrollingContentsLayer->size() ||
- overflowClipRectOffsetChanged)
+ if (overflowClipRectOffsetChanged)
m_scrollingContentsLayer->setNeedsDisplay();
DoubleSize scrollingContentsOffset(

Powered by Google App Engine
This is Rietveld 408576698