Chromium Code Reviews
DescriptionRevert of Refactor History's CommitLaterTask with CancelableCallback (patchset #7 id:120001 of https://codereview.chromium.org/2672753002/ )
Reason for revert:
Suspect for introducing the memory leak in ~TypedUrlSyncableServiceTest_DeleteUrlAndVisits().
For more details, please see:
https://uberchromegw.corp.google.com/i/chromium.memory/builders/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20%281%29/builds/19518/steps/components_unittests/logs/TypedUrlSyncableServiceTest.DeleteUrlAndVisits
Original issue's description:
> Refactor History's CommitLaterTask with CancelableCallback
>
> Addresses an old TODO to replace the class with CancelableCallback,
> which is almost a drop-in replacement.
>
> base::Unretained(this) is used for the callback because there should be,
> according to the DCHECK in the destructor, no scheduled commit during
> destruction.
>
> Review-Url: https://codereview.chromium.org/2672753002
> Cr-Commit-Position: refs/heads/master@{#449735}
> Committed: https://chromium.googlesource.com/chromium/src/+/87585300304e2a813e13b18c3fca1022c167bf91
TBR=treib@chromium.org,brettw@chromium.org,gangwu@chromium.org,mastiz@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
Review-Url: https://codereview.chromium.org/2697513002
Cr-Commit-Position: refs/heads/master@{#449925}
Committed: https://chromium.googlesource.com/chromium/src/+/2912ffa778a102b9cade9a99eadbe8757c66bb8a
Patch Set 1 #
Messages
Total messages: 7 (3 generated)
|
|||||||||||||||||||||||||||||||||||||