Index: Source/web/WebAXObject.cpp |
diff --git a/Source/web/WebAXObject.cpp b/Source/web/WebAXObject.cpp |
index 6b23eb36d76f3441fdb1596ff8f6a23687faec40..e207deb99417008c24ee2b73eae8c2a5afa44555 100644 |
--- a/Source/web/WebAXObject.cpp |
+++ b/Source/web/WebAXObject.cpp |
@@ -853,8 +853,6 @@ unsigned WebAXObject::selectionEnd() const |
return 0; |
AXObject::AXRange axSelection = m_private->selectionUnderObject(); |
- if (axSelection.focusOffset < 0) |
- return 0; |
return axSelection.focusOffset; |
} |
@@ -865,8 +863,6 @@ unsigned WebAXObject::selectionStart() const |
return 0; |
AXObject::AXRange axSelection = m_private->selectionUnderObject(); |
- if (axSelection.anchorOffset < 0) |
- return 0; |
return axSelection.anchorOffset; |
} |