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

Unified Diff: Source/core/rendering/RenderBox.h

Issue 708283002: RLSA needsLayout on customscrollbar thickness change. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: addressed review comments Created 6 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
« no previous file with comments | « Source/core/rendering/RenderBlock.cpp ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderBox.h
diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h
index 0dc27147f21e9d0e97c9cd9a70a68b0612504eb4..c4329d3fcb89858d37cc46d0f4c08adb93d15499 100644
--- a/Source/core/rendering/RenderBox.h
+++ b/Source/core/rendering/RenderBox.h
@@ -450,6 +450,9 @@ public:
LayoutUnit availableWidth() const { return style()->isHorizontalWritingMode() ? availableLogicalWidth() : availableLogicalHeight(IncludeMarginBorderPadding); }
LayoutUnit availableHeight() const { return style()->isHorizontalWritingMode() ? availableLogicalHeight(IncludeMarginBorderPadding) : availableLogicalWidth(); }
+ void setCustomScrollbarThicknessChanged(bool thicknessChanged) { m_customScrollbarThicknessChanged = thicknessChanged; }
skobes 2014/11/14 03:32:10 Instead of adding a new boolean, can you put this
MuVen 2014/11/14 06:10:25 Done.
+ bool customScrollbarThicknessChanged() const { return m_customScrollbarThicknessChanged; }
+
virtual int verticalScrollbarWidth() const;
int horizontalScrollbarHeight() const;
int instrinsicScrollbarLogicalWidth() const;
@@ -765,6 +768,8 @@ protected:
private:
OwnPtr<RenderBoxRareData> m_rareData;
+
+ unsigned m_customScrollbarThicknessChanged : 1;
};
DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderBox, isBox());
« no previous file with comments | « Source/core/rendering/RenderBlock.cpp ('k') | Source/core/rendering/RenderBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698