| Index: chrome/browser/ui/webui/instant_ui.cc
|
| diff --git a/chrome/browser/ui/webui/instant_ui.cc b/chrome/browser/ui/webui/instant_ui.cc
|
| index 14df056f5140a6d8743c483d4ba710322492abc3..05e6c8b4f2313bd8b5ac592c5419b88ede593302 100644
|
| --- a/chrome/browser/ui/webui/instant_ui.cc
|
| +++ b/chrome/browser/ui/webui/instant_ui.cc
|
| @@ -8,6 +8,7 @@
|
| #include "base/stringprintf.h"
|
| #include "base/time.h"
|
| #include "chrome/browser/instant/instant_controller.h"
|
| +#include "chrome/browser/prefs/pref_registry_syncable.h"
|
| #include "chrome/browser/prefs/pref_service.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/browser.h"
|
| @@ -149,7 +150,7 @@ InstantUI::InstantUI(content::WebUI* web_ui) : WebUIController(web_ui) {
|
| }
|
|
|
| // static
|
| -void InstantUI::RegisterUserPrefs(PrefServiceSyncable* user_prefs) {
|
| - user_prefs->RegisterStringPref(prefs::kInstantUIZeroSuggestUrlPrefix, "",
|
| - PrefServiceSyncable::UNSYNCABLE_PREF);
|
| +void InstantUI::RegisterUserPrefs(PrefRegistrySyncable* registry) {
|
| + registry->RegisterStringPref(prefs::kInstantUIZeroSuggestUrlPrefix, "",
|
| + PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| }
|
|
|