Name the ScopedClosureRunner in XmlParsingDone(...).
This CL names the base::ScopedClosureRunner object in the XmlParsingDone function. Previously, a temporary object was created, so the closure would be called at the end of the expression. Naming the object ensures it won't be called until the function ends. Change-Id: I80805f85d15e75f287d169b381144c7fabbea1e7 Reviewed-on: https://chromium-review.googlesource.com/1037704Reviewed-by:Jay Civelli <jcivelli@chromium.org> Reviewed-by:
Lei Zhang <thestig@chromium.org> Commit-Queue: Andres Calderon Jaramillo <andrescj@chromium.org> Cr-Commit-Position: refs/heads/master@{#555835}
Showing
Please register or sign in to comment