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

Issue 22475002: Remove deadcode in history backend. (Closed)

Created:
7 years, 4 months ago by etienneb
Modified:
7 years, 3 months ago
Reviewers:
mrossetti, sky
CC:
chromium-reviews, browser-components-watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Remove deadcode in history backend. This issue was found by a linter. I don't understand this piece of code. There is not side-effects. Old code? Or for debugging? R=mrossetti@chromium.org, sky@chromium.org BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221238

Patch Set 1 : remove useless map. #

Total comments: 2

Patch Set 2 : rebase on master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -13 lines) Patch
M chrome/browser/history/history_backend.cc View 1 7 chunks +10 lines, -13 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
etienneb
The main fix is to remove the useless statement. - old_to_new[i->id()] = new_id; And the ...
7 years, 4 months ago (2013-08-08 01:03:52 UTC) #1
sky
The need for old_to_new was removed a long time ago, but I missed actually nuking ...
7 years, 4 months ago (2013-08-20 21:21:45 UTC) #2
etienneb
https://codereview.chromium.org/22475002/diff/18001/chrome/browser/history/history_backend.cc File chrome/browser/history/history_backend.cc (right): https://codereview.chromium.org/22475002/diff/18001/chrome/browser/history/history_backend.cc#newcode2835 chrome/browser/history/history_backend.cc:2835: // Therefore, we clear the list afterwards to make ...
7 years, 4 months ago (2013-08-21 03:14:39 UTC) #3
sky
LGTM
7 years, 4 months ago (2013-08-21 14:13:02 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/etienneb@chromium.org/22475002/18001
7 years, 4 months ago (2013-08-21 14:43:39 UTC) #5
commit-bot: I haz the power
Failed to apply patch for chrome/browser/history/history_backend.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 4 months ago (2013-08-21 14:43:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/etienneb@chromium.org/22475002/37001
7 years, 3 months ago (2013-09-04 16:31:08 UTC) #7
commit-bot: I haz the power
7 years, 3 months ago (2013-09-04 19:59:53 UTC) #8
Message was sent while issue was closed.
Change committed as 221238

Powered by Google App Engine
This is Rietveld 408576698