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

Issue 255393002: Hide NSAutoreleasePool from ARC translation units. (Closed)

Created:
6 years, 8 months ago by jfroy
Modified:
6 years, 7 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Hide NSAutoreleasePool from ARC translation units. BUG=366312 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267067

Patch Set 1 #

Patch Set 2 : Hide the autorelease pool type instead of methods in ARC TUs to keep the vtable compatible. #

Patch Set 3 : Update the preprocessor conditional comment with the right expression. #

Patch Set 4 : Change the return type in the method definitions to match the declarations. #

Total comments: 1

Patch Set 5 : Rename type alias to AutoreleasePoolType and add comment as to its purpose. #

Total comments: 1

Patch Set 6 : Updated comment about AutoreleasePoolType to address feedback. #

Patch Set 7 : Rebase #

Patch Set 8 : Rebase #

Patch Set 9 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -8 lines) Patch
M base/message_loop/message_pump_mac.h View 1 2 3 4 5 5 chunks +20 lines, -6 lines 0 comments Download
M base/message_loop/message_pump_mac.mm View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 31 (0 generated)
jfroy
6 years, 8 months ago (2014-04-23 22:03:57 UTC) #1
Robert Sesek
Does this actually work? It seems weird to conditionally add/remove methods in a TU depending ...
6 years, 8 months ago (2014-04-25 15:50:19 UTC) #2
jfroy1
I haven't ran into any issues with this, but come to think of it removing ...
6 years, 8 months ago (2014-04-25 16:36:13 UTC) #3
Robert Sesek
On 2014/04/25 16:36:13, jfroy_google.com wrote: > I haven't ran into any issues with this, but ...
6 years, 8 months ago (2014-04-25 16:44:47 UTC) #4
jfroy
6 years, 7 months ago (2014-04-28 18:40:40 UTC) #5
jfroy
6 years, 7 months ago (2014-04-28 18:45:21 UTC) #6
Robert Sesek
You should also change the type in the .mm file to use the typedef.
6 years, 7 months ago (2014-04-28 19:05:12 UTC) #7
jfroy
On 2014/04/28 19:05:12, rsesek wrote: > You should also change the type in the .mm ...
6 years, 7 months ago (2014-04-28 19:15:53 UTC) #8
jfroy
6 years, 7 months ago (2014-04-28 19:37:33 UTC) #9
Robert Sesek
LGTM. mark@ is the right OWNER for this file, though. You should also let reviewers ...
6 years, 7 months ago (2014-04-28 19:40:08 UTC) #10
Mark Mentovai
https://codereview.chromium.org/255393002/diff/50001/base/message_loop/message_pump_mac.h File base/message_loop/message_pump_mac.h (right): https://codereview.chromium.org/255393002/diff/50001/base/message_loop/message_pump_mac.h#newcode65 base/message_loop/message_pump_mac.h:65: class AutoreleasePool; Call this AutoreleasePoolType so that it doesn’t ...
6 years, 7 months ago (2014-04-28 21:12:12 UTC) #11
jfroy
Thanks Mark, check the latest PS.
6 years, 7 months ago (2014-04-28 22:41:52 UTC) #12
Mark Mentovai
LGTM https://codereview.chromium.org/255393002/diff/70001/base/message_loop/message_pump_mac.h File base/message_loop/message_pump_mac.h (right): https://codereview.chromium.org/255393002/diff/70001/base/message_loop/message_pump_mac.h#newcode65 base/message_loop/message_pump_mac.h:65: // depends on the TU in which this ...
6 years, 7 months ago (2014-04-29 02:07:03 UTC) #13
jfroy
The CQ bit was checked by jfroy@chromium.org
6 years, 7 months ago (2014-04-29 03:46:39 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jfroy@chromium.org/255393002/90001
6 years, 7 months ago (2014-04-29 03:47:12 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 04:26:29 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 7 months ago (2014-04-29 04:26:29 UTC) #17
jfroy
The CQ bit was checked by jfroy@chromium.org
6 years, 7 months ago (2014-04-29 06:04:49 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jfroy@chromium.org/255393002/110001
6 years, 7 months ago (2014-04-29 06:05:39 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 06:46:06 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on chromium_presubmit
6 years, 7 months ago (2014-04-29 06:46:07 UTC) #21
jfroy
The CQ bit was checked by jfroy@chromium.org
6 years, 7 months ago (2014-04-29 16:49:16 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jfroy@chromium.org/255393002/130001
6 years, 7 months ago (2014-04-29 16:50:11 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 22:33:08 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium
6 years, 7 months ago (2014-04-29 22:33:08 UTC) #25
jfroy
On 2014/04/29 22:33:08, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 7 months ago (2014-04-29 22:33:43 UTC) #26
jfroy
The CQ bit was checked by jfroy@chromium.org
6 years, 7 months ago (2014-04-29 22:36:32 UTC) #27
jfroy
The CQ bit was checked by jfroy@chromium.org
6 years, 7 months ago (2014-04-29 22:38:16 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jfroy@chromium.org/255393002/150001
6 years, 7 months ago (2014-04-29 22:38:53 UTC) #29
commit-bot: I haz the power
Change committed as 267067
6 years, 7 months ago (2014-04-30 04:50:46 UTC) #30
jfroy
6 years, 7 months ago (2014-05-06 21:07:28 UTC) #31
Message was sent while issue was closed.

          

Powered by Google App Engine
This is Rietveld 408576698