| Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| index 2195baa3385fcc84d41f62e1858d95c76c29779e..4e467e73004a223312d51b4b846531a503ced710 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
| @@ -61,6 +61,7 @@
|
| #include "web/WebPluginContainerImpl.h"
|
| #include "web/WebRemoteFrameImpl.h"
|
| #include "web/WebViewFrameWidget.h"
|
| +#include "wtf/AutoReset.h"
|
| #include "wtf/PtrUtil.h"
|
| #include <memory>
|
|
|
| @@ -335,7 +336,7 @@ WebInputEventResult WebFrameWidgetImpl::handleInputEvent(const WebInputEvent& in
|
|
|
| // FIXME: pass event to m_localRoot's WebDevToolsAgentImpl once available.
|
|
|
| - TemporaryChange<const WebInputEvent*> currentEventChange(m_currentInputEvent, &inputEvent);
|
| + AutoReset<const WebInputEvent*> currentEventChange(&m_currentInputEvent, &inputEvent);
|
|
|
| if (m_mouseCaptureNode && WebInputEvent::isMouseEventType(inputEvent.type)) {
|
| TRACE_EVENT1("input", "captured mouse event", "type", inputEvent.type);
|
|
|