| Index: chrome/browser/user_style_sheet_watcher_factory.cc
|
| diff --git a/chrome/browser/user_style_sheet_watcher_factory.cc b/chrome/browser/user_style_sheet_watcher_factory.cc
|
| index fb572fbb7b43493ce3f57a04418d7b5b57b9ffc8..48fe26721564bf538033fe8f78ad733fd6ef8683 100644
|
| --- a/chrome/browser/user_style_sheet_watcher_factory.cc
|
| +++ b/chrome/browser/user_style_sheet_watcher_factory.cc
|
| @@ -14,7 +14,7 @@ scoped_refptr<UserStyleSheetWatcher>
|
| UserStyleSheetWatcherFactory::GetForProfile(
|
| Profile* profile) {
|
| return static_cast<UserStyleSheetWatcher*>(
|
| - GetInstance()->GetServiceForProfile(profile, true).get());
|
| + GetInstance()->GetServiceForBrowserContext(profile, true).get());
|
| }
|
|
|
| // static
|
| @@ -23,14 +23,14 @@ UserStyleSheetWatcherFactory* UserStyleSheetWatcherFactory::GetInstance() {
|
| }
|
|
|
| UserStyleSheetWatcherFactory::UserStyleSheetWatcherFactory()
|
| - : RefcountedProfileKeyedServiceFactory(
|
| - "UserStyleSheetWatcher", ProfileDependencyManager::GetInstance()) {
|
| + : RefcountedBrowserContextKeyedServiceFactory(
|
| + "UserStyleSheetWatcher", BrowserContextDependencyManager::GetInstance()) {
|
| }
|
|
|
| UserStyleSheetWatcherFactory::~UserStyleSheetWatcherFactory() {
|
| }
|
|
|
| -scoped_refptr<RefcountedProfileKeyedService>
|
| +scoped_refptr<RefcountedBrowserContextKeyedService>
|
| UserStyleSheetWatcherFactory::BuildServiceInstanceFor(
|
| content::BrowserContext* context) const {
|
| Profile* profile = static_cast<Profile*>(context);
|
|
|