Descriptionbookmarks: Remove a bunch of unnecessary BookmarkModelFactory::GetForProfile() calls.
Instead of making a series of calls to it, keep the model in variable
and reuse it.
BUG=None
TEST=unit_tests --gtest_filter=BookmarkBarViewTest.*
R=sky@chromium.org
Committed: https://crrev.com/ec4bd88bad1c19db9b7c311475608a8d7a2e1718
Cr-Commit-Position: refs/heads/master@{#339740}
Patch Set 1 #Patch Set 2 : fix #Messages
Total messages: 7 (2 generated)
|