Index: chrome/browser/ui/webui/version_handler.cc |
diff --git a/chrome/browser/ui/webui/version_handler.cc b/chrome/browser/ui/webui/version_handler.cc |
index aef487b54a489b44c12149c6dba913a93875fead..c469d182e3a955c567c877bdf6de8c6800ef0ba9 100644 |
--- a/chrome/browser/ui/webui/version_handler.cc |
+++ b/chrome/browser/ui/webui/version_handler.cc |
@@ -137,7 +137,7 @@ void VersionHandler::OnGotPlugins( |
string16 flash_version = |
l10n_util::GetStringUTF16(IDS_PLUGINS_DISABLED_PLUGIN); |
PluginPrefs* plugin_prefs = |
- PluginPrefs::GetForProfile(Profile::FromWebUI(web_ui())); |
+ PluginPrefs::GetForProfile(Profile::FromWebUI(web_ui())).get(); |
if (plugin_prefs) { |
for (size_t i = 0; i < info_array.size(); ++i) { |
if (plugin_prefs->IsPluginEnabled(info_array[i])) { |