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

Unified Diff: chrome/browser/extensions/webstore_standalone_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/webstore_standalone_installer.cc
diff --git a/chrome/browser/extensions/webstore_standalone_installer.cc b/chrome/browser/extensions/webstore_standalone_installer.cc
index 591cefe884b89616cb80e1bc7564fcbb33b34405..8508281ab0a75851010de1e4b4ff129f05a9cf33 100644
--- a/chrome/browser/extensions/webstore_standalone_installer.cc
+++ b/chrome/browser/extensions/webstore_standalone_installer.cc
@@ -261,16 +261,14 @@ WebstoreStandaloneInstaller::CreateInstallUI() {
localized_name_,
localized_description_,
&error);
- if (!localized_extension_for_display_) {
+ if (!localized_extension_for_display_.get()) {
CompleteInstall(kInvalidManifestError);
return;
}
install_ui_.reset(new ExtensionInstallPrompt(GetWebContents()));
- install_ui_->ConfirmStandaloneInstall(this,
- localized_extension_for_display_,
- &icon_,
- *install_prompt_);
+ install_ui_->ConfirmStandaloneInstall(
+ this, localized_extension_for_display_.get(), &icon_, *install_prompt_);
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698