| Index: third_party/WebKit/Source/core/editing/SelectionController.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/SelectionController.cpp b/third_party/WebKit/Source/core/editing/SelectionController.cpp
|
| index 425b435e967f5a104bc83d9f524fb73b2e5f1bcd..2278ead918f8a85157197f8c055510e3153ff41c 100644
|
| --- a/third_party/WebKit/Source/core/editing/SelectionController.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/SelectionController.cpp
|
| @@ -44,6 +44,7 @@
|
| #include "core/page/FocusController.h"
|
| #include "core/page/Page.h"
|
| #include "platform/RuntimeEnabledFeatures.h"
|
| +#include "wtf/AutoReset.h"
|
|
|
| namespace blink {
|
| SelectionController* SelectionController::create(LocalFrame& frame)
|
| @@ -608,7 +609,7 @@ void SelectionController::sendContextMenuEvent(const MouseEventWithHitTestResult
|
| return;
|
|
|
| // Context menu events are always allowed to perform a selection.
|
| - TemporaryChange<bool> mouseDownMayStartSelectChange(m_mouseDownMayStartSelect, true);
|
| + AutoReset<bool> mouseDownMayStartSelectChange(&m_mouseDownMayStartSelect, true);
|
|
|
| if (mev.hitTestResult().isMisspelled())
|
| return selectClosestMisspellingFromMouseEvent(mev);
|
|
|