Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3086)

Unified Diff: chrome/browser/plugins/plugin_status_pref_setter.cc

Issue 16296002: Update chrome/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/plugins/plugin_status_pref_setter.cc
diff --git a/chrome/browser/plugins/plugin_status_pref_setter.cc b/chrome/browser/plugins/plugin_status_pref_setter.cc
index b5dd358f4d539e09771b8b59ccf6561fb4667180..79beda98c163e7101d582922e5698bd1110b595d 100644
--- a/chrome/browser/plugins/plugin_status_pref_setter.cc
+++ b/chrome/browser/plugins/plugin_status_pref_setter.cc
@@ -63,10 +63,10 @@ void PluginStatusPrefSetter::GotPlugins(
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
// Set the values on the PrefService instead of through the PrefMembers to
// notify observers if they changed.
- profile_->GetPrefs()->SetBoolean(
- clear_plugin_lso_data_enabled_.GetPrefName().c_str(),
- PluginDataRemoverHelper::IsSupported(plugin_prefs));
+ profile_->GetPrefs()
+ ->SetBoolean(clear_plugin_lso_data_enabled_.GetPrefName().c_str(),
+ PluginDataRemoverHelper::IsSupported(plugin_prefs.get()));
profile_->GetPrefs()->SetBoolean(
pepper_flash_settings_enabled_.GetPrefName().c_str(),
- PepperFlashSettingsManager::IsPepperFlashInUse(plugin_prefs, NULL));
+ PepperFlashSettingsManager::IsPepperFlashInUse(plugin_prefs.get(), NULL));
}

Powered by Google App Engine
This is Rietveld 408576698