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

Unified Diff: chrome/browser/ui/views/settings_api_bubble_helper_views.cc

Issue 312943002: Remove unused param from search engine extension override helper function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More functions Created 6 years, 7 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/views/settings_api_bubble_helper_views.cc
diff --git a/chrome/browser/ui/views/settings_api_bubble_helper_views.cc b/chrome/browser/ui/views/settings_api_bubble_helper_views.cc
index 67199cdb782e7a079c5d2c7e0a4ddb2457f45f5f..ef4330e7960c248e56ecb4d747fc6e715f8c4ac8 100644
--- a/chrome/browser/ui/views/settings_api_bubble_helper_views.cc
+++ b/chrome/browser/ui/views/settings_api_bubble_helper_views.cc
@@ -52,7 +52,7 @@ void MaybeShowExtensionControlledHomeNotification(Browser* browser) {
return;
#endif
- const Extension* extension = OverridesHomepage(browser->profile(), NULL);
+ const Extension* extension = OverridesHomepage(browser->profile());
if (extension) {
// The bubble will try to anchor itself against the home button
views::View* anchor_view = BrowserView::GetBrowserViewForBrowser(browser)->
@@ -75,8 +75,7 @@ void MaybeShowExtensionControlledSearchNotification(
if (AutocompleteMatch::IsSearchType(match.type) &&
match.type != AutocompleteMatchType::SEARCH_OTHER_ENGINE) {
- const Extension* extension =
- OverridesSearchEngine(profile, NULL);
+ const Extension* extension = OverridesSearchEngine(profile);
if (extension) {
ToolbarView* toolbar =
BrowserView::GetBrowserViewForBrowser(

Powered by Google App Engine
This is Rietveld 408576698