| 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..a69f77e2a05a861cbd70a2b3c556d6dfc6b9a75c 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,15 @@ 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);
|
|
|