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

Unified Diff: content/renderer/accessibility/render_accessibility_impl.cc

Issue 2255093005: Pass accessible location change messages to the automation API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: content/renderer/accessibility/render_accessibility_impl.cc
diff --git a/content/renderer/accessibility/render_accessibility_impl.cc b/content/renderer/accessibility/render_accessibility_impl.cc
index 872beb31a5f03da8bd5da59d68a3a539281f090c..64e9f6e6b72aa03d7fcf0d9c48d0f4aad818472b 100644
--- a/content/renderer/accessibility/render_accessibility_impl.cc
+++ b/content/renderer/accessibility/render_accessibility_impl.cc
@@ -395,7 +395,7 @@ void RenderAccessibilityImpl::SendLocationChanges() {
if (!container_transform.isIdentity())
new_location.transform = base::WrapUnique(
new gfx::Transform(container_transform));
- if (iter != locations_.end() && iter->second != new_location) {
aboxhall 2016/08/22 19:48:38 Why is this no longer necessary?
dmazzoni 2016/08/22 21:29:14 A few lines above, we have: if (iter == locations
+ if (iter->second != new_location) {
AccessibilityHostMsg_LocationChangeParams message;
message.id = id;
message.new_location = new_location;

Powered by Google App Engine
This is Rietveld 408576698