Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Unified Diff: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp

Issue 2268893008: Remove NeedToDispatchSelectEvent argument of HTMLTextFormControlElement::setSelectedRange(). (Closed)
Patch Set: Remove NeedToDispatchSelectEvent argument of HTMLTextFormControlElement::setSelectedRange(). Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
diff --git a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
index 46c3df19cb4b0ebfa754e0fe781e953632307174..9e4dc358c27eb171a3f3046d40b127b1ff95218b 100644
--- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
+++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
@@ -2064,11 +2064,11 @@ void AXLayoutObject::setSelection(const AXRange& selection)
if (selection.anchorOffset <= selection.focusOffset) {
textControl->setSelectionRange(
selection.anchorOffset, selection.focusOffset,
- SelectionHasForwardDirection, NotDispatchSelectEvent);
+ SelectionHasForwardDirection);
} else {
textControl->setSelectionRange(
selection.focusOffset, selection.anchorOffset,
- SelectionHasBackwardDirection, NotDispatchSelectEvent);
+ SelectionHasBackwardDirection);
}
return;
}

Powered by Google App Engine
This is Rietveld 408576698