| Index: ui/accessibility/ax_tree.cc
|
| diff --git a/ui/accessibility/ax_tree.cc b/ui/accessibility/ax_tree.cc
|
| index 17112742a424ce78d3d281e57fa253445a24d7c0..f2ccdcba3777e188c7590243968dd5b2a4ba22c8 100644
|
| --- a/ui/accessibility/ax_tree.cc
|
| +++ b/ui/accessibility/ax_tree.cc
|
| @@ -15,9 +15,7 @@ namespace ui {
|
| namespace {
|
|
|
| std::string TreeToStringHelper(AXNode* node, int indent) {
|
| - std::string result;
|
| - for (int i = 0; i < indent; i++)
|
| - result += " ";
|
| + std::string result = std::string(2 * indent, ' ');
|
| result += node->data().ToString() + "\n";
|
| for (int i = 0; i < node->child_count(); ++i)
|
| result += TreeToStringHelper(node->ChildAtIndex(i), indent + 1);
|
|
|