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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.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/paint/PaintLayerScrollableArea.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
index 5a0c97af9389ab963b0774f352ea771cefd9a383..2c6829cdf4c3eb09a4d777a2ca0a4f42641f62f1 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h
@@ -506,8 +506,9 @@ class CORE_EXPORT PaintLayerScrollableArea final
bool& needsVerticalScrollbar,
ComputeScrollbarExistenceOption = Default) const;
- void setHasHorizontalScrollbar(bool hasScrollbar);
- void setHasVerticalScrollbar(bool hasScrollbar);
+ // Returns true iff scrollbar existence changed.
+ bool setHasHorizontalScrollbar(bool hasScrollbar);
+ bool setHasVerticalScrollbar(bool hasScrollbar);
void updateScrollCornerStyle();

Powered by Google App Engine
This is Rietveld 408576698