Fix crash in ProfileDownloader
ProfileDownloaderDelegate implementation may delete ProfileDownloader inside OnProfileDownloadSuccess or OnProfileDownloadFailure, so profile_image_fetcher_ has to be reset before calling these methods. Bug: 736358 Change-Id: I5f16bd1c3b54f7f317957cf916ef1b9d93b30494 Reviewed-on: https://chromium-review.googlesource.com/546055Reviewed-by:Mihai Sardarescu <msarda@chromium.org> Commit-Queue: Boris Sazonov <bsazonov@chromium.org> Cr-Commit-Position: refs/heads/master@{#481923}
Showing
Please register or sign in to comment