Descriptionbookmarks: Reuse data member |model_| in ShowContextMenuForView() function.
We don't need to call BookmarkModelFactory::GetProfile(...) again as we already
have a data member |model_| for which we have already called
BookmarkModelFactory::GetProfile().
BUG=None
TEST=In Bookmarks Bar, right click a folder that is not the "Other bookmarks",
make sure that folder has only one children, for that folder the menu should
not close when deleting the child node. Now do the same for the "Other bookmarks"
folder, it should close if it has only one children. No regressions observed.
R=sky@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233412
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|