| Index: third_party/WebKit/Source/core/input/MouseEventManager.cpp
|
| diff --git a/third_party/WebKit/Source/core/input/MouseEventManager.cpp b/third_party/WebKit/Source/core/input/MouseEventManager.cpp
|
| index 966780376fb1bc7464f78fdc74413cb579749d3d..8337a1ae0e458c19d44fe183777a2f83905b1603 100644
|
| --- a/third_party/WebKit/Source/core/input/MouseEventManager.cpp
|
| +++ b/third_party/WebKit/Source/core/input/MouseEventManager.cpp
|
| @@ -505,6 +505,13 @@ bool MouseEventManager::SlideFocusOnShadowHostIfNecessary(
|
| return false;
|
| }
|
|
|
| +void MouseEventManager::HandleMouseReleaseEventUpdateStates() {
|
| + ClearDragHeuristicState();
|
| + InvalidateClick();
|
| + frame_->GetEventHandler().GetSelectionController().SetMouseDownMayStartSelect(
|
| + false);
|
| +}
|
| +
|
| void MouseEventManager::HandleMousePressEventUpdateStates(
|
| const WebMouseEvent& mouse_event) {
|
| CancelFakeMouseMoveEvent();
|
| @@ -522,6 +529,9 @@ void MouseEventManager::HandleMousePressEventUpdateStates(
|
| } else {
|
| InvalidateClick();
|
| }
|
| +
|
| + frame_->GetEventHandler().GetSelectionController().SetMouseDownMayStartSelect(
|
| + false);
|
| }
|
|
|
| bool MouseEventManager::IsMousePositionUnknown() {
|
|
|