Index: Source/platform/scroll/ScrollView.h |
diff --git a/Source/platform/scroll/ScrollView.h b/Source/platform/scroll/ScrollView.h |
index aa81e2cb0a32b3858d283b9c5ca304bfd281f6ea..6d4c23eef156a941f9842020ca1821544d2e41a1 100644 |
--- a/Source/platform/scroll/ScrollView.h |
+++ b/Source/platform/scroll/ScrollView.h |
@@ -35,6 +35,7 @@ |
#include "platform/scroll/Scrollbar.h" |
#include "wtf/HashSet.h" |
+#include "wtf/TemporaryChange.h" |
namespace WebCore { |
@@ -294,6 +295,13 @@ protected: |
IntSize excludeScrollbars(const IntSize&) const; |
+ class InUpdateScrollbarsScope { |
+ public: |
+ explicit InUpdateScrollbarsScope(ScrollView*); |
+ private: |
+ TemporaryChange<bool> m_scope; |
+ }; |
+ |
private: |
bool adjustScrollbarExistence(ComputeScrollbarExistenceOption = FirstPass); |