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

Unified Diff: Source/core/layout/LayoutObject.cpp

Issue 942963002: Need to invalidate scrollbars in case they get repositioned. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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: Source/core/layout/LayoutObject.cpp
diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp
index 822373f88222ca5d4d057771d71ac812fcc2e727..3083b392c60aa19924b621cf8a906b5e4c449ceb 100644
--- a/Source/core/layout/LayoutObject.cpp
+++ b/Source/core/layout/LayoutObject.cpp
@@ -636,7 +636,7 @@ bool LayoutObject::skipInvalidationWhenLaidOutChildren() const
if (isSVG() || (isRenderBlockFlow() && toRenderBlockFlow(this)->firstLineBox()))
return false;
- return rendererHasNoBoxEffect();
+ return rendererHasNoBoxEffect() && !hasNonCompositedScrollbars();
dsinclair 2015/02/23 15:13:53 Can we pull this out to be (assuming the following
mstensho (USE GERRIT) 2015/02/23 17:22:38 Done.
}
RenderBlock* LayoutObject::firstLineBlock() const

Powered by Google App Engine
This is Rietveld 408576698