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; |