views/bookmarks: Fix memory leak in BookmarkEditorView.
Allocate |url_label_| on the stack instead of in the free store(heap), and set set_parent_owned to false. Thus, we manage its memory when we create a unittest with EditDetails::NEW_FOLDER. BUG=92159 TEST=None R=pkasting@chromium.org Review URL: http://codereview.chromium.org/7617006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96572 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment