Index: Source/platform/scroll/ScrollView.cpp |
diff --git a/Source/platform/scroll/ScrollView.cpp b/Source/platform/scroll/ScrollView.cpp |
index 420f7c6be3a383eecde856147e93835ffdb4854e..cfb24d3d6acf5b89e306a18862315b99b3641e10 100644 |
--- a/Source/platform/scroll/ScrollView.cpp |
+++ b/Source/platform/scroll/ScrollView.cpp |
@@ -31,7 +31,6 @@ |
#include "platform/HostWindow.h" |
#include "platform/scroll/ScrollbarTheme.h" |
#include "wtf/StdLibExtras.h" |
-#include "wtf/TemporaryChange.h" |
using namespace std; |
@@ -458,7 +457,7 @@ void ScrollView::updateScrollbars(const IntSize& desiredOffset) |
{ |
if (m_inUpdateScrollbars) |
return; |
- TemporaryChange<bool> inUpdateScrollbarsChange(m_inUpdateScrollbars, true); |
+ InUpdateScrollbarsScope inUpdateScrollbarsScope(this); |
IntSize oldVisibleSize = visibleSize(); |