Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3625)

Unified Diff: chrome/browser/ui/browser_commands.cc

Issue 242693003: Introduce BookmarkClient interface to abstract embedder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/browser_commands.cc
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
index 27c6269fa4079f41cb2aad4ab6b55f06a3651156..f31acdf75cd12c0318ae59496b3ffcb29cf9b5ec 100644
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -181,7 +181,7 @@ void BookmarkCurrentPageInternal(Browser* browser, bool from_star) {
// so that bookmarks have an icon for the page.
FaviconTabHelper::FromWebContents(web_contents)->SaveFavicon();
}
- bookmark_utils::AddIfNotBookmarked(model, url, title);
+ bookmark_utils::AddIfNotBookmarked(model, model, url, title);
if (from_star && !was_bookmarked)
BookmarkPromptController::AddedBookmark(browser, url);
// Make sure the model actually added a bookmark before showing the star. A

Powered by Google App Engine
This is Rietveld 408576698