summaryrefslogtreecommitdiffstats
path: root/ui/gfx/rect_unittest.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-16 17:18:40 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-16 17:18:40 +0000
commite3bfce524f3546661935e8448bad35a5571d8e22 (patch)
tree65c095fcb6cf4adea578abebfd92d9500840145e /ui/gfx/rect_unittest.cc
parentadbae7e226e63018f388bdb197ca5c8f36514a45 (diff)
downloadchromium_src-e3bfce524f3546661935e8448bad35a5571d8e22.zip
chromium_src-e3bfce524f3546661935e8448bad35a5571d8e22.tar.gz
chromium_src-e3bfce524f3546661935e8448bad35a5571d8e22.tar.bz2
ui/base/models: Fix the API example code comment.
Allocating |root| on the stack and passing to |model|, also on the stack, does _not_ work, because TreeNodeModel owns the root. So when the dtor of TreeNodeModel is called, it attempts to free an invalid pointer, which was already deleted. BUG=None TEST=None R=sky@chromium.org Review URL: http://codereview.chromium.org/7171001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89355 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/rect_unittest.cc')
0 files changed, 0 insertions, 0 deletions