DescriptionService Worker: Stop using a scoped_ptr for an object to be released immediately.
The original code of the callers of WebCallbacks::onError/onSuccess methods
addressed by this CL create a scoped_ptr and immediately release it to pass a
raw pointer to method. This CL changes it to directly use a raw pointer.
Related comment from nhiroki@: https://codereview.chromium.org/1270513002/diff/20001/content/child/service_worker/service_worker_dispatcher.cc#newcode562
BUG=N/A
Committed: https://crrev.com/bdcc0660980f5eb4e0bf09000cc6e75e699c5759
Cr-Commit-Position: refs/heads/master@{#342804}
Patch Set 1 #
Messages
Total messages: 14 (5 generated)
|