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

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

Issue 1269263003: The start and end arguments should be unsigned long in setSelectionRange() function Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/core/html/HTMLTextFormControlElementTest.cpp ('k') | Source/modules/accessibility/AXObject.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/accessibility/AXLayoutObject.cpp
diff --git a/Source/modules/accessibility/AXLayoutObject.cpp b/Source/modules/accessibility/AXLayoutObject.cpp
index 16e243450b44a0f1686784721a40103974eb9097..950b6df17578144b54caaa0257de1cd994e27868 100644
--- a/Source/modules/accessibility/AXLayoutObject.cpp
+++ b/Source/modules/accessibility/AXLayoutObject.cpp
@@ -1954,8 +1954,8 @@ AXObject::AXRange AXLayoutObject::textControlSelection() const
HTMLTextFormControlElement* textControl = toLayoutTextControl(
layout)->textFormControlElement();
ASSERT(textControl);
- int start = textControl->selectionStart();
- int end = textControl->selectionEnd();
+ unsigned start = textControl->selectionStart();
+ unsigned end = textControl->selectionEnd();
return AXRange(axObject, start, axObject, end);
}
« no previous file with comments | « Source/core/html/HTMLTextFormControlElementTest.cpp ('k') | Source/modules/accessibility/AXObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698