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 62d5adb0e8001b0730b42e8818bde95a1a99796e..8c01d6946aaaa134655f5c9ebe2ad188265bd02d 100644 |
--- a/third_party/WebKit/Source/core/editing/FrameSelection.cpp |
+++ b/third_party/WebKit/Source/core/editing/FrameSelection.cpp |
@@ -840,7 +840,7 @@ void FrameSelection::selectAll() |
if (!root) |
return; |
- if (selectStartTarget && !selectStartTarget->dispatchEvent(Event::createCancelableBubble(EventTypeNames::selectstart))) |
+ if (selectStartTarget && selectStartTarget->dispatchEvent(Event::createCancelableBubble(EventTypeNames::selectstart)) != WebInputEventResult::NotHandled) |
return; |
VisibleSelection newSelection(VisibleSelection::selectionFromContentsOfNode(root.get())); |