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

Issue 1424713006: ios: Stop using __weak. (Closed)

Created:
5 years, 1 month ago by Nico
Modified:
5 years, 1 month ago
Reviewers:
Lei Zhang, stuartmorgan
CC:
chromium-reviews, cbentzel+watch_chromium.org, vmpstr+watch_chromium.org, rouslan+autofill_chromium.org, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, bondd+autofillwatch_chromium.org, estade+watch_chromium.org, sdefresne+watch_chromium.org, droger, sdefresne, justincohen
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ios: Stop using __weak. Since we don't build with ARC enabled and without garbage collection, __weak had no semantic meaning. Upstream clang wants to change __weak to have ARC zeroing weak references semantics, but to not silently change behavior, they're first making it an error to use __weak without ARC. Replace __weak with comments so we can update compilers. Also remove a workaround that's no longer necessary. Similar to https://codereview.chromium.org/1407103008/ on OS X. BUG=550066, 228650 R=stuartmorgan@chromium.org TBR=thestig Committed: https://chromium.googlesource.com/chromium/src/+/d380128613ba8ad96b3e9c65c06d4b4fe570bf85

Patch Set 1 #

Messages

Total messages: 13 (6 generated)
Nico
5 years, 1 month ago (2015-11-04 21:28:47 UTC) #4
stuartmorgan
lgtm
5 years, 1 month ago (2015-11-04 22:23:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1424713006/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1424713006/1
5 years, 1 month ago (2015-11-04 22:37:48 UTC) #7
Nico
tbr thestig for components/autofill/ios/OWNERS
5 years, 1 month ago (2015-11-04 22:46:54 UTC) #10
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/d380128613ba8ad96b3e9c65c06d4b4fe570bf85 Cr-Commit-Position: refs/heads/master@{#357920}
5 years, 1 month ago (2015-11-04 22:48:46 UTC) #11
Lei Zhang
On 2015/11/04 22:46:54, Nico wrote: > tbr thestig for components/autofill/ios/OWNERS lgtm
5 years, 1 month ago (2015-11-04 22:49:02 UTC) #12
Nico
5 years, 1 month ago (2015-11-04 22:49:20 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
d380128613ba8ad96b3e9c65c06d4b4fe570bf85 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698