| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index d545ba3be8b2c47d73cd349e7f6d9b03e9b9f69a..017a8182be2c7b8ef702639c45443925469bae49 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -1685,7 +1685,7 @@ void ChromeContentBrowserClient::RequestDesktopNotificationPermission(
|
| for (ExtensionSet::const_iterator iter = extensions.begin();
|
| iter != extensions.end(); ++iter) {
|
| if (notification_service->IsExtensionEnabled((*iter)->id())) {
|
| - extension = *iter;
|
| + extension = iter->get();
|
| break;
|
| }
|
| }
|
| @@ -1978,7 +1978,7 @@ void ChromeContentBrowserClient::OverrideWebkitPrefs(
|
| #else
|
| // The user stylesheet watcher may not exist in a testing profile.
|
| UserStyleSheetWatcher* user_style_sheet_watcher =
|
| - UserStyleSheetWatcherFactory::GetForProfile(profile);
|
| + UserStyleSheetWatcherFactory::GetForProfile(profile).get();
|
| if (user_style_sheet_watcher) {
|
| web_prefs->user_style_sheet_enabled = true;
|
| web_prefs->user_style_sheet_location =
|
|
|