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

Unified Diff: chrome/browser/ui/pdf/adobe_reader_info_win.cc

Issue 745333002: Remove implicit conversions from scoped_refptr to T* in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/ui/pdf/adobe_reader_info_win.cc
diff --git a/chrome/browser/ui/pdf/adobe_reader_info_win.cc b/chrome/browser/ui/pdf/adobe_reader_info_win.cc
index 5e826d6714cd577766bc4717d685471a585955fb..ded85bc47029d74687789c1242d036ecc8c10f8c 100644
--- a/chrome/browser/ui/pdf/adobe_reader_info_win.cc
+++ b/chrome/browser/ui/pdf/adobe_reader_info_win.cc
@@ -88,7 +88,8 @@ AdobeReaderPluginInfo GetReaderPlugin(
reader_info.is_installed = true;
if (profile) {
- PluginPrefs* plugin_prefs = PluginPrefs::GetForProfile(profile);
+ scoped_refptr<PluginPrefs> plugin_prefs =
dcheng 2014/11/21 17:25:18 Note: the plugin rewrote the variable type here. I
Lei Zhang 2014/11/21 17:44:28 This is fine, thanks for catching it.
+ PluginPrefs::GetForProfile(profile);
PluginPrefs::PolicyStatus plugin_status =
plugin_prefs->PolicyStatusForPlugin(plugin_metadata->name());
reader_info.is_enabled = plugin_status != PluginPrefs::POLICY_DISABLED;
« chrome/browser/shell_integration_win.cc ('K') | « chrome/browser/shell_integration_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698