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

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

Issue 21269002: Make AccessibilityNodeData more compact. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address feedback, compile fixes Created 7 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/renderer_accessibility_complete.cc
diff --git a/content/renderer/accessibility/renderer_accessibility_complete.cc b/content/renderer/accessibility/renderer_accessibility_complete.cc
index abce9c8b0695bddb9ec293706493aca8f03ec68a..1d92ba6110e3684a9d368bb2ee687fc6660b97e4 100644
--- a/content/renderer/accessibility/renderer_accessibility_complete.cc
+++ b/content/renderer/accessibility/renderer_accessibility_complete.cc
@@ -405,8 +405,8 @@ void RendererAccessibilityComplete::AppendLocationChangeNotifications(
AccessibilityNodeData& serialized_node = notification_msg.nodes[i];
serialized_node.id = location_changes[i]->id;
serialized_node.location = location_changes[i]->location;
- serialized_node.bool_attributes[
- AccessibilityNodeData::ATTR_UPDATE_LOCATION_ONLY] = true;
+ serialized_node.AddBoolAttribute(
+ AccessibilityNodeData::ATTR_UPDATE_LOCATION_ONLY, true);
}
notification_msgs->push_back(notification_msg);

Powered by Google App Engine
This is Rietveld 408576698