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

Issue 376863003: Stop manually calling AddRef/Release for AutocompleteController::providers_ (Closed)

Created:
6 years, 5 months ago by hashimoto
Modified:
6 years, 5 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, James Su
Project:
chromium
Visibility:
Public.

Description

Stop manually calling AddRef/Release for AutocompleteController::providers_ No need to manually manipulate the ref count when scoped_refptr can be used. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281987

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -34 lines) Patch
M chrome/browser/autocomplete/autocomplete_controller.h View 4 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_controller.cc View 1 2 9 chunks +7 lines, -17 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_provider.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_provider_unittest.cc View 1 3 chunks +1 line, -3 lines 0 comments Download
M chrome/browser/ui/omnibox/omnibox_controller_unittest.cc View 3 chunks +9 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
hashimoto
6 years, 5 months ago (2014-07-08 11:42:11 UTC) #1
Peter Kasting
LGTM https://codereview.chromium.org/376863003/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc File chrome/browser/autocomplete/autocomplete_controller.cc (right): https://codereview.chromium.org/376863003/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc#newcode224 chrome/browser/autocomplete/autocomplete_controller.cc:224: providers_.clear(); // Not really necessary. Go ahead and ...
6 years, 5 months ago (2014-07-09 01:07:32 UTC) #2
hashimoto
https://codereview.chromium.org/376863003/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc File chrome/browser/autocomplete/autocomplete_controller.cc (right): https://codereview.chromium.org/376863003/diff/20001/chrome/browser/autocomplete/autocomplete_controller.cc#newcode224 chrome/browser/autocomplete/autocomplete_controller.cc:224: providers_.clear(); // Not really necessary. On 2014/07/09 01:07:32, Peter ...
6 years, 5 months ago (2014-07-09 01:57:29 UTC) #3
hashimoto
The CQ bit was checked by hashimoto@chromium.org
6 years, 5 months ago (2014-07-09 04:10:58 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hashimoto@chromium.org/376863003/40001
6 years, 5 months ago (2014-07-09 04:16:14 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-09 05:36:48 UTC) #6
commit-bot: I haz the power
6 years, 5 months ago (2014-07-09 07:35:30 UTC) #7
Message was sent while issue was closed.
Change committed as 281987

Powered by Google App Engine
This is Rietveld 408576698