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

Issue 2610923005: Replace ObjCPropertyReleaser with ReleaseProperties() project-wide. (Closed)

Created:
3 years, 11 months ago by Sidney San Martín
Modified:
3 years, 7 months ago
CC:
chromium-reviews, jdonnelly+watch_chromium.org, vabr+watchlistpasswordmanager_chromium.org, rouslan+payments_chromium.org, rouslan+autofill_chromium.org, tfarina, sebsg+autofillwatch_chromium.org, pkl (ping after 24h if needed), browser-components-watch_chromium.org, gogerald+paymentswatch_chromium.org, mathp+autofillwatch_chromium.org, noyau+watch_chromium.org, mac-reviews_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, sebsg+paymentswatch_chromium.org, sdefresne+watch_chromium.org, Mark Mentovai
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace ObjCPropertyReleaser with ReleaseProperties() project-wide. Review-Url: https://codereview.chromium.org/2610923005 Cr-Commit-Position: refs/heads/master@{#471754} Committed: https://chromium.googlesource.com/chromium/src/+/6c018d86b723aee46a2f80cf403a3fabc3bbd7a1

Patch Set 1 #

Patch Set 2 : Delete a stray init #

Patch Set 3 : Re-add these ivars, they're declared with slightly different types from their properties. #

Patch Set 4 : weak -> assign #

Total comments: 7

Patch Set 5 : Drop a couple of unused imports instead of updating them. #

Patch Set 6 : Rebase. #

Patch Set 7 : Yank unrelated changes. #

Total comments: 6

Patch Set 8 : Dead code. #

Patch Set 9 : PR → PaymentRequest #

Patch Set 10 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -172 lines) Patch
M chrome/browser/ui/cocoa/app_menu/app_menu_controller.h View 1 2 3 4 5 6 2 chunks +0 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/app_menu/app_menu_controller.mm View 1 2 3 4 5 6 7 8 9 3 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm View 1 2 3 4 5 6 7 8 9 3 chunks +6 lines, -8 lines 0 comments Download
M components/handoff/handoff_manager.mm View 4 chunks +6 lines, -3 lines 0 comments Download
M ios/chrome/app/main_controller.mm View 1 2 3 4 5 6 7 8 9 5 chunks +3 lines, -5 lines 0 comments Download
M ios/chrome/browser/passwords/update_password_infobar_controller.mm View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -10 lines 0 comments Download
M ios/chrome/browser/snapshots/snapshot_cache.mm View 1 2 3 4 5 4 chunks +2 lines, -5 lines 0 comments Download
M ios/chrome/browser/ui/authentication/authentication_flow.mm View 3 chunks +6 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/elements/activity_overlay_coordinator.mm View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -12 lines 0 comments Download
M ios/chrome/browser/ui/main/browser_view_wrangler.mm View 1 2 3 4 5 6 7 8 9 4 chunks +2 lines, -5 lines 0 comments Download
M ios/chrome/browser/ui/ntp/new_tab_page_bar.mm View 1 2 3 4 5 6 4 chunks +6 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/ntp/new_tab_page_bar_button.mm View 1 2 3 4 5 6 4 chunks +6 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/ntp/new_tab_page_bar_item.mm View 1 2 3 4 5 6 3 chunks +4 lines, -8 lines 0 comments Download
M ios/chrome/browser/ui/ntp/new_tab_page_controller.mm View 1 2 3 4 5 6 7 8 9 4 chunks +2 lines, -5 lines 0 comments Download
M ios/chrome/browser/ui/ntp/new_tab_page_view.mm View 1 2 3 4 5 6 7 8 9 4 chunks +6 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/overscroll_actions/overscroll_actions_controller.mm View 1 2 3 4 5 6 7 8 9 4 chunks +2 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/overscroll_actions/overscroll_actions_view.mm View 1 2 3 4 5 4 chunks +2 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/popup_menu/popup_menu_controller.mm View 4 chunks +2 lines, -5 lines 0 comments Download
M ios/chrome/browser/ui/settings/save_passwords_collection_view_controller.mm View 1 2 3 4 5 6 7 8 9 3 chunks +2 lines, -7 lines 0 comments Download
M ios/chrome/browser/ui/settings/settings_root_collection_view_controller.mm View 1 2 3 4 5 2 chunks +4 lines, -11 lines 0 comments Download
M ios/chrome/browser/ui/settings/sync_encryption_passphrase_collection_view_controller.mm View 1 2 3 4 5 3 chunks +6 lines, -6 lines 0 comments Download
M ios/chrome/browser/ui/stack_view/card_view.mm View 4 chunks +7 lines, -5 lines 0 comments Download
M ios/chrome/browser/ui/stack_view/stack_view_controller.mm View 1 2 3 4 5 6 7 8 9 4 chunks +2 lines, -5 lines 0 comments Download
M ios/chrome/browser/ui/tabs/tab_strip_controller.mm View 1 2 3 4 5 6 7 8 9 4 chunks +2 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/tabs/tab_view.mm View 4 chunks +6 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/tools_menu/tools_menu_view_controller.mm View 1 2 3 4 5 6 7 8 9 3 chunks +6 lines, -4 lines 0 comments Download
M ios/chrome/browser/ui/tools_menu/tools_menu_view_item.mm View 5 chunks +13 lines, -9 lines 0 comments Download
M ios/chrome/browser/ui/tools_menu/tools_menu_view_tools_cell.mm View 1 2 3 4 5 4 chunks +7 lines, -7 lines 0 comments Download
M ios/web/public/origin_util_unittest.mm View 2 chunks +5 lines, -9 lines 0 comments Download
M ios/web/web_state/ui/crw_web_controller.mm View 1 2 3 4 5 6 7 8 9 3 chunks +8 lines, -7 lines 0 comments Download

Messages

Total messages: 71 (48 generated)
Sidney San Martín
This CL depends on crrev/2500033002, which introduces a simpler replacement for ObjCPropertyReleaser. That's still in ...
3 years, 11 months ago (2017-01-05 03:24:05 UTC) #22
noyau (Ping after 24h)
I'd rather see all all those uses of property releaser removed and the files compiled ...
3 years, 11 months ago (2017-01-05 10:02:52 UTC) #28
Sidney San Martín
On 2017/01/05 10:02:52, noyau wrote: > I'd rather see all all those uses of property ...
3 years, 11 months ago (2017-01-05 19:04:25 UTC) #29
noyau (Ping after 24h)
On 2017/01/05 19:04:25, sdy wrote: > On 2017/01/05 10:02:52, noyau wrote: > > I'd rather ...
3 years, 11 months ago (2017-01-06 14:05:20 UTC) #30
noyau (Ping after 24h)
https://codereview.chromium.org/2610923005/diff/60001/ios/chrome/browser/ui/ntp/new_tab_page_view.h File ios/chrome/browser/ui/ntp/new_tab_page_view.h (right): https://codereview.chromium.org/2610923005/diff/60001/ios/chrome/browser/ui/ntp/new_tab_page_view.h#newcode16 ios/chrome/browser/ui/ntp/new_tab_page_view.h:16: @property(nonatomic, assign, readonly) NewTabPageBar* tabBar; On 2017/01/05 10:02:52, noyau ...
3 years, 11 months ago (2017-01-06 14:21:06 UTC) #31
noyau (Ping after 24h)
Any progress there? I like this CL, this simplifies code… Sylvain, Rohit, why no lgtm ...
3 years, 10 months ago (2017-02-03 13:01:28 UTC) #32
Sidney San Martín
On 2017/02/03 13:01:28, noyau wrote: > Any progress there? I like this CL, this simplifies ...
3 years, 10 months ago (2017-02-03 17:17:52 UTC) #33
Sidney San Martín
sdefresne, rohitrao: PTAL
3 years, 10 months ago (2017-02-14 02:03:08 UTC) #43
sdefresne
On 2017/02/14 02:03:08, sdy wrote: > sdefresne, rohitrao: PTAL I'm undecided on this. Technically this ...
3 years, 10 months ago (2017-02-14 12:22:36 UTC) #44
Sidney San Martín
On 2017/02/14 12:22:36, sdefresne wrote: > On 2017/02/14 02:03:08, sdy wrote: > > sdefresne, rohitrao: ...
3 years, 10 months ago (2017-02-14 16:16:22 UTC) #45
sdefresne
lgtm https://codereview.chromium.org/2610923005/diff/120001/ios/chrome/browser/payments/payment_request_coordinator.mm File ios/chrome/browser/payments/payment_request_coordinator.mm (right): https://codereview.chromium.org/2610923005/diff/120001/ios/chrome/browser/payments/payment_request_coordinator.mm#newcode48 ios/chrome/browser/payments/payment_request_coordinator.mm:48: if ((self = [super initWithBaseViewController:baseViewController])) { Looks like ...
3 years, 10 months ago (2017-02-14 16:34:26 UTC) #46
Sidney San Martín
https://codereview.chromium.org/2610923005/diff/120001/ios/chrome/browser/payments/payment_request_coordinator.mm File ios/chrome/browser/payments/payment_request_coordinator.mm (right): https://codereview.chromium.org/2610923005/diff/120001/ios/chrome/browser/payments/payment_request_coordinator.mm#newcode48 ios/chrome/browser/payments/payment_request_coordinator.mm:48: if ((self = [super initWithBaseViewController:baseViewController])) { On 2017/02/14 16:34:26, ...
3 years, 10 months ago (2017-02-14 21:38:15 UTC) #48
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/2610923005/160001
3 years, 10 months ago (2017-02-15 05:54:40 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/364703)
3 years, 10 months ago (2017-02-15 06:06:29 UTC) #53
Sidney San Martín
On 2017/02/15 06:06:29, commit-bot: I haz the power wrote: > Try jobs failed on following ...
3 years, 10 months ago (2017-02-15 06:08:33 UTC) #54
sdefresne
On 2017/02/14 21:38:15, sdy wrote: > https://codereview.chromium.org/2610923005/diff/120001/ios/chrome/browser/payments/payment_request_coordinator.mm > File ios/chrome/browser/payments/payment_request_coordinator.mm (right): > > https://codereview.chromium.org/2610923005/diff/120001/ios/chrome/browser/payments/payment_request_coordinator.mm#newcode48 > ...
3 years, 10 months ago (2017-02-15 10:35:29 UTC) #55
Sidney San Martín
On 2017/02/15 10:35:29, sdefresne wrote: > If this is the case, I think we can ...
3 years, 10 months ago (2017-02-15 15:21:42 UTC) #56
noyau (Ping after 24h)
Removing myself as reviewer. I like this CL, but it's not moving.
3 years, 7 months ago (2017-04-28 08:22:16 UTC) #57
Sidney San Martín
rohitrao@ — PTAL?
3 years, 7 months ago (2017-05-12 23:50:28 UTC) #63
rohitrao (ping after 24h)
lgtm
3 years, 7 months ago (2017-05-15 12:33:28 UTC) #64
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/2610923005/200001
3 years, 7 months ago (2017-05-15 13:51:07 UTC) #67
commit-bot: I haz the power
Committed patchset #10 (id:200001) as https://chromium.googlesource.com/chromium/src/+/6c018d86b723aee46a2f80cf403a3fabc3bbd7a1
3 years, 7 months ago (2017-05-15 14:38:15 UTC) #70
huangml
3 years, 7 months ago (2017-05-15 18:10:25 UTC) #71
Message was sent while issue was closed.
A revert of this CL (patchset #10 id:200001) has been created in
https://codereview.chromium.org/2881183002/ by huangml@google.com.

The reason for reverting is: Revert the CL as some iOS tests are failing due to
releasing issues.

https://build.chromium.org/p/chromium.fyi/builders/EarlGreyiOS/builds/27565.

Powered by Google App Engine
This is Rietveld 408576698