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

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: 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..e0abf4c95b64e214ec97a62d0c709a544fb093c4 100644
--- a/chrome/browser/ui/views/settings_api_bubble_helper_views.cc
+++ b/chrome/browser/ui/views/settings_api_bubble_helper_views.cc
@@ -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