| Index: third_party/WebKit/Source/web/InspectorOverlay.cpp
|
| diff --git a/third_party/WebKit/Source/web/InspectorOverlay.cpp b/third_party/WebKit/Source/web/InspectorOverlay.cpp
|
| index c92134bb80c8dd0daa8c0e93c32490fe478eea09..28293f2f11b500f9ee6c578de4bc874b83643fe7 100644
|
| --- a/third_party/WebKit/Source/web/InspectorOverlay.cpp
|
| +++ b/third_party/WebKit/Source/web/InspectorOverlay.cpp
|
| @@ -58,6 +58,7 @@
|
| #include "web/WebInputEventConversion.h"
|
| #include "web/WebLocalFrameImpl.h"
|
| #include "web/WebViewImpl.h"
|
| +#include "wtf/AutoReset.h"
|
| #include <memory>
|
| #include <v8.h>
|
|
|
| @@ -229,7 +230,7 @@ void InspectorOverlay::updateAllLifecyclePhases()
|
| if (isEmpty())
|
| return;
|
|
|
| - TemporaryChange<bool> scoped(m_inLayout, true);
|
| + AutoReset<bool> scoped(&m_inLayout, true);
|
| if (m_needsUpdate) {
|
| m_needsUpdate = false;
|
| rebuildOverlayPage();
|
|
|