Chromium Code Reviews
DescriptionCacheStorage: Pass an error object allocated on heap to WebCallbacks::onError (1)
This is a preliminary patch to simplify memory management in
CallbackPromiseAdapter.
Before this CL, CacheStorageDispatcher passes an error object allocated on stack
to WebCallbacks::onError, and this prevents CallbackPromiseAdapter from uniformly
managing the passed object with a smart pointer.
(All other adapter clients pass an on-heap object)
(1) Chromium: THIS PATCH
(2) Blink: https://codereview.chromium.org/1155573003
(3) Chromium: https://codereview.chromium.org/1150333003
(4) Blink: https://codereview.chromium.org/1150413004
BUG=494884
TEST=n/a
Committed: https://crrev.com/c42996a97da1d32a5a35dd7f09eb82ada88b9b43
Cr-Commit-Position: refs/heads/master@{#334970}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|
|||||||||||||||||||