Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Issue 2697513002: Revert of Refactor History's CommitLaterTask with CancelableCallback (Closed)

Created:
3 years, 10 months ago by msramek
Modified:
3 years, 10 months ago
CC:
chromium-reviews, vmpstr+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -20 lines) Patch
M components/history/core/browser/history_backend.h View 4 chunks +5 lines, -5 lines 0 comments Download
M components/history/core/browser/history_backend.cc View 3 chunks +48 lines, -11 lines 0 comments Download
M components/history/core/browser/typed_url_syncable_service_unittest.cc View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
msramek
Created Revert of Refactor History's CommitLaterTask with CancelableCallback
3 years, 10 months ago (2017-02-13 09:43:58 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2697513002/1
3 years, 10 months ago (2017-02-13 09:44:16 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/2912ffa778a102b9cade9a99eadbe8757c66bb8a
3 years, 10 months ago (2017-02-13 10:34:28 UTC) #6
mastiz
3 years, 10 months ago (2017-02-16 09:54:44 UTC) #7
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2688413014/ by mastiz@chromium.org.

The reason for reverting is: Surfaced use-after free preceded the CL and has
been fixed since by https://codereview.chromium.org/2690993002.

Powered by Google App Engine
This is Rietveld 408576698