This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Commit d132ada
authored
iOS: Eliminate ScopedBlock, ScopedTypeRef, ScopedPolicy (#56410)
Eliminates the two remaining uses of ScopedBlock and with it, ScopedTypeRef which was only used by ScopedBlock. ARC automatically generates the necessary block copy/retain/release calls, including moving blocks to the heap during a retain so manual _Block_copy/_Block_release calls are no longer required.
No test changes since no semantic changes.
Issue: flutter/flutter#137801
[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style1 parent a2ada9a commit d132ada
File tree
9 files changed
+6
-224
lines changed- ci/licenses_golden
- fml
- platform/darwin
- shell/platform/darwin/ios
- framework/Source
9 files changed
+6
-224
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42729 | 42729 | | |
42730 | 42730 | | |
42731 | 42731 | | |
42732 | | - | |
42733 | | - | |
42734 | 42732 | | |
42735 | 42733 | | |
42736 | 42734 | | |
42737 | | - | |
42738 | 42735 | | |
42739 | 42736 | | |
42740 | 42737 | | |
| |||
45592 | 45589 | | |
45593 | 45590 | | |
45594 | 45591 | | |
45595 | | - | |
45596 | | - | |
45597 | 45592 | | |
45598 | 45593 | | |
45599 | 45594 | | |
45600 | | - | |
45601 | 45595 | | |
45602 | 45596 | | |
45603 | 45597 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
151 | | - | |
152 | 150 | | |
153 | 151 | | |
154 | 152 | | |
155 | | - | |
156 | 153 | | |
157 | 154 | | |
158 | 155 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | | - | |
| 32 | + | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
| 23 | + | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
30 | | - | |
31 | | - | |
| 29 | + | |
32 | 30 | | |
33 | 31 | | |
34 | 32 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
36 | | - | |
| 35 | + | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
130 | | - | |
| 128 | + | |
131 | 129 | | |
132 | 130 | | |
133 | 131 | | |
| |||
0 commit comments