summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorwjmaclean@chromium.org <wjmaclean@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-06 19:21:13 +0000
committerwjmaclean@chromium.org <wjmaclean@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-06 19:21:13 +0000
commitb99fe1ca899eca7f58cc0edd3da725e2b91fb127 (patch)
treef92117d0654ebfac509e4c063866bca1eee5c297 /views
parenta62214486bffc07fb2446099bf6ea7b83796f01c (diff)
downloadchromium_src-b99fe1ca899eca7f58cc0edd3da725e2b91fb127.zip
chromium_src-b99fe1ca899eca7f58cc0edd3da725e2b91fb127.tar.gz
chromium_src-b99fe1ca899eca7f58cc0edd3da725e2b91fb127.tar.bz2
Reverse arrow direction so graphViz draws root node at top.
BUG=none TEST=none Review URL: http://codereview.chromium.org/6955001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84481 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/view.cc b/views/view.cc
index ceda709..61ca2d0 100644
--- a/views/view.cc
+++ b/views/view.cc
@@ -1797,9 +1797,9 @@ std::string View::PrintViewGraph(bool first) {
snprintf(pp, kMaxPointerStringLength, "%p", parent());
result.append(" N");
- result.append(p+2);
- result.append(" -> N");
result.append(pp+2);
+ result.append(" -> N");
+ result.append(p+2);
result.append("\n");
}