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

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

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 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
« no previous file with comments | « chrome/browser/extensions/user_script_master.cc ('k') | chrome/browser/first_run/first_run.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/webstore_standalone_installer.cc
diff --git a/chrome/browser/extensions/webstore_standalone_installer.cc b/chrome/browser/extensions/webstore_standalone_installer.cc
index 5bc7efd1992eccdef81d10927501cfac89be4a0a..7327d9a1ef62fa3d676e6068b5096ea4f682eb7a 100644
--- a/chrome/browser/extensions/webstore_standalone_installer.cc
+++ b/chrome/browser/extensions/webstore_standalone_installer.cc
@@ -365,14 +365,15 @@ void WebstoreStandaloneInstaller::OnWebstoreParseSuccess(
localized_name_,
localized_description_,
&error);
- if (!dummy_extension_) {
+ if (!dummy_extension_.get()) {
OnWebstoreParseFailure(id_, WebstoreInstallHelper::Delegate::MANIFEST_ERROR,
kInvalidManifestError);
return;
}
install_ui_.reset(new ExtensionInstallPrompt(web_contents()));
- install_ui_->ConfirmStandaloneInstall(this, dummy_extension_, &icon_, prompt);
+ install_ui_->
+ ConfirmStandaloneInstall(this, dummy_extension_.get(), &icon_, prompt);
// Control flow finishes up in InstallUIProceed or InstallUIAbort.
}
« no previous file with comments | « chrome/browser/extensions/user_script_master.cc ('k') | chrome/browser/first_run/first_run.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698