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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlock.h

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/LayoutBlock.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.h b/third_party/WebKit/Source/core/layout/LayoutBlock.h
index 0642d975f118eac70ea2eae3a94b61622db8c25d..7cdaac590b0bb93ba62e1ef87bacb0d5fa7a7212 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.h
@@ -281,8 +281,10 @@ class CORE_EXPORT LayoutBlock : public LayoutBox {
LayoutUnit collapsedMarginBeforeForChild(const LayoutBox& child) const;
LayoutUnit collapsedMarginAfterForChild(const LayoutBox& child) const;
- virtual void scrollbarsChanged(bool /*horizontalScrollbarChanged*/,
- bool /*verticalScrollbarChanged*/);
+ enum ScrollbarChangeContext { StyleChange, Layout };
+ virtual void scrollbarsChanged(bool horizontalScrollbarChanged,
+ bool verticalScrollbarChanged,
+ ScrollbarChangeContext = Layout);
LayoutUnit availableLogicalWidthForContent() const {
return (logicalRightOffsetForContent() - logicalLeftOffsetForContent())

Powered by Google App Engine
This is Rietveld 408576698