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

Unified Diff: components/omnibox/browser/omnibox_controller.cc

Issue 2048693003: Misc. omnibox cleanup: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resync Created 4 years, 6 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
« no previous file with comments | « components/omnibox/browser/history_url_provider.cc ('k') | components/omnibox/browser/omnibox_edit_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/omnibox/browser/omnibox_controller.cc
diff --git a/components/omnibox/browser/omnibox_controller.cc b/components/omnibox/browser/omnibox_controller.cc
index 9cbe634dfc8eb0eabfeb49ddcdda3118a69f90ec..9b5b84ae48372d696b2cedca1345e34dde4ccfd6 100644
--- a/components/omnibox/browser/omnibox_controller.cc
+++ b/components/omnibox/browser/omnibox_controller.cc
@@ -19,7 +19,7 @@ OmniboxController::OmniboxController(OmniboxEditModel* omnibox_edit_model,
OmniboxClient* client)
: omnibox_edit_model_(omnibox_edit_model),
client_(client),
- popup_(NULL),
+ popup_(nullptr),
autocomplete_controller_(new AutocompleteController(
client_->CreateAutocompleteProviderClient(),
this,
@@ -51,7 +51,7 @@ void OmniboxController::OnResultChanged(bool default_match_changed) {
} else {
InvalidateCurrentMatch();
popup_->OnResultChanged();
- omnibox_edit_model_->OnPopupDataChanged(base::string16(), NULL,
+ omnibox_edit_model_->OnPopupDataChanged(base::string16(), nullptr,
base::string16(), false);
}
} else {
« no previous file with comments | « components/omnibox/browser/history_url_provider.cc ('k') | components/omnibox/browser/omnibox_edit_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698