Index: chrome/browser/plugins/chrome_plugin_service_filter.cc |
diff --git a/chrome/browser/plugins/chrome_plugin_service_filter.cc b/chrome/browser/plugins/chrome_plugin_service_filter.cc |
index ac639b745862c1889c84465fa4ef9d3393a5248e..853018eeca2332e07ca848b83bd1e6aa99b50334 100644 |
--- a/chrome/browser/plugins/chrome_plugin_service_filter.cc |
+++ b/chrome/browser/plugins/chrome_plugin_service_filter.cc |
@@ -59,8 +59,7 @@ void ChromePluginServiceFilter::RestrictPluginToProfileAndOrigin( |
const GURL& origin) { |
base::AutoLock auto_lock(lock_); |
restricted_plugins_[plugin_path] = |
- std::make_pair(PluginPrefs::GetForProfile(profile), |
- origin); |
+ std::make_pair(PluginPrefs::GetForProfile(profile).get(), origin); |
} |
void ChromePluginServiceFilter::UnrestrictPlugin( |