| Index: ui/accessibility/ax_tree_data.cc
|
| diff --git a/ui/accessibility/ax_tree_data.cc b/ui/accessibility/ax_tree_data.cc
|
| index ef7894fbfeae4e8d1c9a3aab4846a528c83ee0ef..73bedcdbf6c00ad1c20f17728dee28e4efc76f43 100644
|
| --- a/ui/accessibility/ax_tree_data.cc
|
| +++ b/ui/accessibility/ax_tree_data.cc
|
| @@ -43,19 +43,18 @@ std::string AXTreeData::ToString() const {
|
| if (parent_tree_id != -1)
|
| result += " parent_tree_id=" + IntToString(parent_tree_id);
|
|
|
| - if (!url.empty())
|
| - result += " url=" + url;
|
| - if (!title.empty())
|
| - result += " title=" + title;
|
| - if (!mimetype.empty())
|
| - result += " mimetype=" + mimetype;
|
| if (!doctype.empty())
|
| result += " doctype=" + doctype;
|
| -
|
| if (loaded)
|
| result += " loaded=true";
|
| if (loading_progress != 0.0)
|
| result += " loading_progress=" + DoubleToString(loading_progress);
|
| + if (!mimetype.empty())
|
| + result += " mimetype=" + mimetype;
|
| + if (!url.empty())
|
| + result += " url=" + url;
|
| + if (!title.empty())
|
| + result += " title=" + title;
|
|
|
| if (focus_id != -1)
|
| result += " focus_id=" + IntToString(focus_id);
|
| @@ -75,13 +74,10 @@ std::string AXTreeData::ToString() const {
|
| bool operator==(const AXTreeData& lhs, const AXTreeData& rhs) {
|
| return (lhs.tree_id == rhs.tree_id &&
|
| lhs.parent_tree_id == rhs.parent_tree_id &&
|
| - lhs.url == rhs.url &&
|
| - lhs.title == rhs.title &&
|
| - lhs.mimetype == rhs.mimetype &&
|
| - lhs.doctype == rhs.doctype &&
|
| - lhs.loaded == rhs.loaded &&
|
| + lhs.doctype == rhs.doctype && lhs.loaded == rhs.loaded &&
|
| lhs.loading_progress == rhs.loading_progress &&
|
| - lhs.focus_id == rhs.focus_id &&
|
| + lhs.mimetype == rhs.mimetype && lhs.title == rhs.title &&
|
| + lhs.url == rhs.url && lhs.focus_id == rhs.focus_id &&
|
| lhs.sel_anchor_object_id == rhs.sel_anchor_object_id &&
|
| lhs.sel_anchor_offset == rhs.sel_anchor_offset &&
|
| lhs.sel_focus_object_id == rhs.sel_focus_object_id &&
|
|
|