| Index: third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/FrameSelection.cpp b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| index f9e3ba0e3c77930a62846a3d3fc637387c6cbd26..c22cb18d1860495a1964dd830a411f43417e9ced 100644
|
| --- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
| @@ -849,7 +849,7 @@ void FrameSelection::selectAll()
|
| if (!root || editingIgnoresContent(root.get()))
|
| return;
|
|
|
| - if (selectStartTarget && !selectStartTarget->dispatchEvent(Event::createCancelableBubble(EventTypeNames::selectstart)))
|
| + if (selectStartTarget && selectStartTarget->dispatchEvent(Event::createCancelableBubble(EventTypeNames::selectstart)) != DispatchEventResult::NotCanceled)
|
| return;
|
|
|
| VisibleSelection newSelection(VisibleSelection::selectionFromContentsOfNode(root.get()));
|
|
|