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

Issue 2857133002: [ios] ARCMigrate ios/chrome/browser/tabs/tab.mm to ARC. (Closed)

Created:
3 years, 7 months ago by sdefresne
Modified:
3 years, 7 months ago
CC:
chromium-reviews, marq+watch_chromium.org, ios-reviews+chrome_chromium.org, noyau+watch_chromium.org, ios-reviews_chromium.org, pkl (ping after 24h if needed)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[ios] ARCMigrate ios/chrome/browser/tabs/tab.mm to ARC. Semi-automatic conversion of ios/chrome/browser/tabs/tab.mm to ARC (Automatic Reference Counting). Manual changes: - audit raw Objective-C pointers and mark them as __weak if needed (were all correctly annotated with weak comments); - convert base::scoped_nsobject<> & base::WeakNSObject<> to annotations for the compiler (e.g. __weak); - remove setter/getter for properties that can be synthesized; - remove [[... retain] autorelease] as the CRWWebController has been converted to ARC already and thus the object will be autorelease and the hack is no longer required. BUG=None Review-Url: https://codereview.chromium.org/2857133002 Cr-Commit-Position: refs/heads/master@{#470518} Committed: https://chromium.googlesource.com/chromium/src/+/2b53772d6855f3bc314bff3cbc4ee9f4a7bedb87

Patch Set 1 #

Patch Set 2 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -244 lines) Patch
M ios/chrome/browser/tabs/BUILD.gn View 1 3 chunks +51 lines, -3 lines 0 comments Download
M ios/chrome/browser/tabs/tab.h View 2 chunks +9 lines, -9 lines 0 comments Download
M ios/chrome/browser/tabs/tab.mm View 1 50 chunks +142 lines, -232 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 14 (9 generated)
sdefresne
This is a reland of https://codereview.chromium.org/2859663002. There is no change (except for rebasing the code) ...
3 years, 7 months ago (2017-05-09 16:33:00 UTC) #4
rohitrao (ping after 24h)
Rubberstamp LGTM if no code has changed Can you link to the WebController fix?
3 years, 7 months ago (2017-05-09 17:03:52 UTC) #6
rohitrao (ping after 24h)
Nm, just saw the link, thanks!
3 years, 7 months ago (2017-05-09 17:04:17 UTC) #7
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/2857133002/20001
3 years, 7 months ago (2017-05-10 07:55:23 UTC) #11
commit-bot: I haz the power
3 years, 7 months ago (2017-05-10 08:01:23 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/2b53772d6855f3bc314bff3cbc4e...

Powered by Google App Engine
This is Rietveld 408576698