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

Unified Diff: chrome/browser/extensions/extension_installer.cc

Issue 16295003: 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/extensions/extension_installer.cc
diff --git a/chrome/browser/extensions/extension_installer.cc b/chrome/browser/extensions/extension_installer.cc
index 4990906d5ab7e71f4a6a2268ec9e9d85084a958d..5e3d9b2e55c73e63e4d9b1fd1e000853e0a3c133 100644
--- a/chrome/browser/extensions/extension_installer.cc
+++ b/chrome/browser/extensions/extension_installer.cc
@@ -29,9 +29,8 @@ void ExtensionInstaller::CheckRequirements(
string16 ExtensionInstaller::CheckManagementPolicy() {
string16 error;
- bool allowed =
- ExtensionSystem::Get(profile_)->management_policy()->UserMayLoad(
- extension_, &error);
+ bool allowed = ExtensionSystem::Get(profile_)->management_policy()
+ ->UserMayLoad(extension_.get(), &error);
DCHECK(allowed || !error.empty());
return error;
}
« no previous file with comments | « chrome/browser/extensions/extension_install_prompt.cc ('k') | chrome/browser/extensions/extension_prefs_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698