SandboxedUnpacker: Prevent unnecessary PostTask while reporting failure.
SandboxedUnpacker::ReportUnpackingError posts a task on the |unpacker_io_task_runner_| to report unpacking failures. However, all its callers are on |unpacker_io_task_runner_| itself. Prevent unnecessarily posting a task by merging ReportUnpackingError and UnpackExtensionFailed methods. BUG=None Change-Id: Id229392333d0236fd60a5cce0cf642f3aa436ab8 Reviewed-on: https://chromium-review.googlesource.com/1108574 Commit-Queue: Karan Bhatia <karandeepb@chromium.org> Reviewed-by:Jay Civelli <jcivelli@chromium.org> Reviewed-by:
Devlin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/master@{#569167}
Showing
Please register or sign in to comment