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

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

Issue 2328883003: Freeze auto scrollbars while calculating table row height. (Closed)
Patch Set: Created 4 years, 3 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: third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
index cdd611c4751769a3e535ea3e02e28615cd81ecda..67ffa078bd29636e2bddbc08d819cbcd9e414710 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
@@ -32,6 +32,7 @@
#include "core/layout/LayoutTableRow.h"
#include "core/layout/LayoutView.h"
#include "core/layout/SubtreeLayoutScope.h"
+#include "core/paint/PaintLayerScrollableArea.h"
#include "core/paint/TableSectionPainter.h"
#include "wtf/HashSet.h"
#include <algorithm>
@@ -782,6 +783,7 @@ int LayoutTableSection::calcRowLogicalHeight()
}
if (cell->rowIndex() == r && cell->hasOverrideLogicalContentHeight()) {
+ PaintLayerScrollableArea::FreezeScrollbarsScope freezeScrollbars;
cell->clearIntrinsicPadding();
cell->clearOverrideSize();
cell->forceChildLayout();

Powered by Google App Engine
This is Rietveld 408576698