Better fix for bug 829099.
We were crashing if we ended up failing to publish a page when sharing. An initial fix repaired it by sharing an item that was invalid in such a way as to fail silently. Initially I thought that the share callback needed to always be called to continue processing and report failures. However, all it does is to share the item in the callback. Therfore, a better fix is to just not call the callback if there is some failure, as opposed to making sure that we call it with an item which will fail to share. Bug: 829099 Change-Id: I9b25cb67480a822cbbe8cef1b39d687fce076af1 Reviewed-on: https://chromium-review.googlesource.com/1098382Reviewed-by:Yafei Duan <romax@chromium.org> Commit-Queue: Peter Williamson <petewil@chromium.org> Cr-Commit-Position: refs/heads/master@{#566925}
Showing
Please register or sign in to comment