| Index: third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.cpp b/third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.cpp
|
| index f59f8c5fdb1520628f66db34d201985044e9fe8e..ae61f76c0589a155f58067105ac9bcb881454c89 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameViewAutoSizeInfo.cpp
|
| @@ -8,6 +8,7 @@
|
| #include "core/frame/LocalFrame.h"
|
| #include "core/layout/LayoutBox.h"
|
| #include "core/layout/LayoutView.h"
|
| +#include "wtf/AutoReset.h"
|
|
|
| namespace blink {
|
|
|
| @@ -43,7 +44,7 @@ void FrameViewAutoSizeInfo::autoSizeIfNeeded()
|
| if (m_inAutoSize)
|
| return;
|
|
|
| - TemporaryChange<bool> changeInAutoSize(m_inAutoSize, true);
|
| + AutoReset<bool> changeInAutoSize(&m_inAutoSize, true);
|
|
|
| Document* document = m_frameView->frame().document();
|
| if (!document || !document->isActive())
|
|
|