Commit 88191fea authored by Aaron Leventhal's avatar Aaron Leventhal Committed by Commit Bot

Remove old code

This old code contains a TODO to remove the code once this was fixed:
https://bugs.webkit.org/show_bug.cgi?id=73460 (fixed in 2012)

Change-Id: Ide14aae549125407c2b4d4c35b6163f0d211095c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2401061Reviewed-by: default avatarDominic Mazzoni <dmazzoni@chromium.org>
Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org>
Auto-Submit: Aaron Leventhal <aleventhal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#805544}
parent 30964889
......@@ -583,24 +583,6 @@ void RenderAccessibilityImpl::HandleAXEvent(const ui::AXEvent& event) {
if (obj.IsDetached())
return;
if (document.GetFrame()) {
gfx::Size scroll_offset = document.GetFrame()->GetScrollOffset();
if (scroll_offset != last_scroll_offset_) {
// Make sure the browser is always aware of the scroll position of
// the root document element by posting a generic notification that
// will update it.
// TODO(dmazzoni): remove this as soon as
// https://bugs.webkit.org/show_bug.cgi?id=73460 is fixed.
last_scroll_offset_ = scroll_offset;
auto root_object = WebAXObject::FromWebDocument(document);
if (!obj.Equals(root_object)) {
HandleAXEvent(ui::AXEvent(root_object.AxID(),
ax::mojom::Event::kLayoutComplete,
event.event_from));
}
}
}
#if defined(OS_ANDROID)
// Force the newly focused node to be re-serialized so we include its
// inline text boxes.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment