DescriptionRemove bad use of CancelableCallback from BrowingDataAppCacheHelper
BrowsingDataAppCacheHelper no longer needs to be able to cancel its callback,
so remove the "CancelableCallback" member. The current code is also not
correct usage of CancelableCallback, because the callback can be deleted on a
different thread than where it was created. This was making a DCHECK fail when
trying to fix a problem in CancelableCallback (see
https://code.google.com/p/chromium/issues/detail?id=433583#c1).
BUG=433583
R=michaeln@chromium.org
Committed: https://crrev.com/91d2f864f83131a7390ab78b0e19ffedf7c7e514
Cr-Commit-Position: refs/heads/master@{#311369}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Make the callback take a ref to |this| #
Total comments: 1
Patch Set 3 : inline Bind #
Messages
Total messages: 10 (1 generated)
|