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: chrome/browser/android/webapk/webapk_installer.cc

Issue 2338253002: Fix the bug that "Open" button doesn't show after WebAPK installation is complete on Jellybean. (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/webapk/webapk_installer.cc
diff --git a/chrome/browser/android/webapk/webapk_installer.cc b/chrome/browser/android/webapk/webapk_installer.cc
index b38f494c94cba71ace674e2bcf12389fc7c9c6bf..a0cf1c15a64f773daf504423436730c4630f2015 100644
--- a/chrome/browser/android/webapk/webapk_installer.cc
+++ b/chrome/browser/android/webapk/webapk_installer.cc
@@ -418,8 +418,9 @@ void WebApkInstaller::OnTimeout() {
void WebApkInstaller::OnSuccess() {
FinishCallback callback = finish_callback_;
+ std::string webapk_package = webapk_package_;
delete this;
- callback.Run(true, webapk_package_);
+ callback.Run(true, webapk_package);
}
void WebApkInstaller::OnFailure() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698