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

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

Issue 2523533002: Call scrollbarsChanged in PLSA::updateAfterStyleChange. (Closed)
Patch Set: fix test 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/LayoutTableCell.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
index c34f015f117fe93645f799bbbb2ac7194015bc9b..4d01ab9f4c0fd5d412fe59c929d82ea8120a3405 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCell.cpp
@@ -1380,9 +1380,13 @@ void LayoutTableCell::paintMask(const PaintInfo& paintInfo,
}
void LayoutTableCell::scrollbarsChanged(bool horizontalScrollbarChanged,
- bool verticalScrollbarChanged) {
+ bool verticalScrollbarChanged,
+ ScrollbarChangeContext context) {
LayoutBlock::scrollbarsChanged(horizontalScrollbarChanged,
verticalScrollbarChanged);
+ if (context != Layout)
+ return;
+
int scrollbarHeight = scrollbarLogicalHeight();
// Not sure if we should be doing something when a scrollbar goes away or not.
if (!scrollbarHeight)

Powered by Google App Engine
This is Rietveld 408576698