summaryrefslogtreecommitdiffstats
path: root/content/renderer
diff options
context:
space:
mode:
authordmazzoni@google.com <dmazzoni@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-16 15:49:28 +0000
committerdmazzoni@google.com <dmazzoni@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-16 15:49:28 +0000
commitbc48425434e33e71816fb21335987b65228dc916 (patch)
treef87700118afaa789fd4673e86d99294f2c92a6ba /content/renderer
parent3a310304f767792fa0f1f0e41ef48d32ae9fd614 (diff)
downloadchromium_src-bc48425434e33e71816fb21335987b65228dc916.zip
chromium_src-bc48425434e33e71816fb21335987b65228dc916.tar.gz
chromium_src-bc48425434e33e71816fb21335987b65228dc916.tar.bz2
Don't silently update cached accessible bounding boxes.
We shouldn't be updating the cached bounding box of accessible objects that haven't otherwise changed, because that prevents other code from detecting that the location has changed and communicating that to assistive technology. By removing this line of code, AppendLocationChangeEvents() is able to take care of any location changes correctly. BUG=328517 R=aboxhall@chromium.org Review URL: https://codereview.chromium.org/101763004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240901 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer')
-rw-r--r--content/renderer/accessibility/renderer_accessibility_complete.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/content/renderer/accessibility/renderer_accessibility_complete.cc b/content/renderer/accessibility/renderer_accessibility_complete.cc
index 6564109..bf8466d 100644
--- a/content/renderer/accessibility/renderer_accessibility_complete.cc
+++ b/content/renderer/accessibility/renderer_accessibility_complete.cc
@@ -470,7 +470,6 @@ void RendererAccessibilityComplete::SerializeChangedNodes(
serialized_node->child_ids.push_back(child_id);
if (browser_child_id_map.find(child_id) != browser_child_id_map.end()) {
BrowserTreeNode* reused_child = browser_child_id_map[child_id];
- reused_child->location = obj.boundingBoxRect();
browser_node->children.push_back(reused_child);
} else {
BrowserTreeNode* new_child = CreateBrowserTreeNode();