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

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

Issue 58773002: Revert 232877 "Switch the WebstoreDataFetcherDelegate::OnWebstor..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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 | « trunk/src/chrome/browser/extensions/webstore_standalone_installer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/extensions/webstore_standalone_installer.cc
===================================================================
--- trunk/src/chrome/browser/extensions/webstore_standalone_installer.cc (revision 232879)
+++ trunk/src/chrome/browser/extensions/webstore_standalone_installer.cc (working copy)
@@ -88,7 +88,7 @@
}
void WebstoreStandaloneInstaller::OnWebstoreResponseParseSuccess(
- scoped_ptr<DictionaryValue> webstore_data) {
+ DictionaryValue* webstore_data) {
if (!CheckRequestorAlive()) {
CompleteInstall(std::string());
return;
@@ -153,7 +153,7 @@
}
// Assume ownership of webstore_data.
- webstore_data_ = webstore_data.Pass();
+ webstore_data_.reset(webstore_data);
scoped_refptr<WebstoreInstallHelper> helper =
new WebstoreInstallHelper(this,
« no previous file with comments | « trunk/src/chrome/browser/extensions/webstore_standalone_installer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698