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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.cpp

Issue 2191953002: Fix asserts when updating shouldPaint for floating objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
index da5c63fe309570da68daae860020acb42a61f502..d50e0396f870cb1745b2265fde6fd1bd3400250a 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -1446,7 +1446,7 @@ void PaintLayer::didUpdateNeedsCompositedScrolling()
// If the floating object becomes non-self-painting, so some ancestor should paint it;
// if it becomes self-painting, it should paint itself and no ancestor should paint it.
if (wasSelfPaintingLayer != isSelfPaintingLayer() && m_layoutObject->isFloating())
- LayoutBlockFlow::setAncestorShouldPaintFloatingObject(*layoutBox(), wasSelfPaintingLayer);
+ LayoutBlockFlow::setAncestorShouldPaintFloatingObject(*layoutBox());
}
void PaintLayer::updateReflectionInfo(const ComputedStyle* oldStyle)
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698