| Index: chrome/browser/android/locale/special_locale_handler.cc
|
| diff --git a/chrome/browser/android/locale/special_locale_handler.cc b/chrome/browser/android/locale/special_locale_handler.cc
|
| index e1f55b6440295cb26c724571fc97f20d5068a6e2..8f26c935db83ee9c134a1180d49ddafe79301176 100644
|
| --- a/chrome/browser/android/locale/special_locale_handler.cc
|
| +++ b/chrome/browser/android/locale/special_locale_handler.cc
|
| @@ -100,7 +100,8 @@ void SpecialLocaleHandler::OverrideDefaultSearchProvider(
|
| JNIEnv* env,
|
| const JavaParamRef<jobject>& obj) {
|
| // If the user has changed their default search provider, no-op.
|
| - TemplateURL* current_dsp = template_url_service_->GetDefaultSearchProvider();
|
| + const TemplateURL* current_dsp =
|
| + template_url_service_->GetDefaultSearchProvider();
|
| if (!current_dsp ||
|
| current_dsp->prepopulate_id() != TemplateURLPrepopulateData::google.id) {
|
| return;
|
| @@ -117,7 +118,8 @@ void SpecialLocaleHandler::SetGoogleAsDefaultSearch(
|
| JNIEnv* env,
|
| const JavaParamRef<jobject>& obj) {
|
| // If the user has changed their default search provider, no-op.
|
| - TemplateURL* current_dsp = template_url_service_->GetDefaultSearchProvider();
|
| + const TemplateURL* current_dsp =
|
| + template_url_service_->GetDefaultSearchProvider();
|
| if (!current_dsp ||
|
| current_dsp->prepopulate_id() != GetDesignatedSearchEngine()) {
|
| return;
|
|
|