Chromium Code Reviews| 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 403297873b469a9e96ed2854038716e31e891f71..118e10e5038027597f56cc22025b57bd767d3ba4 100644 |
| --- a/chrome/browser/android/webapk/webapk_installer.cc |
| +++ b/chrome/browser/android/webapk/webapk_installer.cc |
| @@ -493,6 +493,7 @@ void WebApkInstaller::OnSuccess() { |
| void WebApkInstaller::OnFailure() { |
| FinishCallback callback = finish_callback_; |
|
dominickn
2016/10/10 06:05:38
Any particular reason this needs to be deleted bef
pkotwicz
2016/10/10 16:42:01
There is no particular reason. Changed as requeste
|
| + std::string webapk_package = webapk_package_; |
| delete this; |
| - callback.Run(false, ""); |
| + callback.Run(false, webapk_package); |
| } |