DescriptionConverts part of ios/web/ui to ARC.
Notable changes:
* ios/web/webui/crw_web_ui_page_builder.mm has a block that had a
__block reference to itself. Before ARC __block means "do not retain
when being captured in a block", but with ARC it is captured. So I
added an additional variable of __weak __block type instead.
* One WeakNSObject in mojo_facade.h could not be removed because it is
included from non-ARC code. WeakNSObject is functional in ARC but is
not preferred. Filed crbug.com/639326 to track future removal of
this.
BUG=639327
TEST=None
Committed: https://crrev.com/ae7aa8958c5981d3ced5b179f490b5ea9e00ba64
Cr-Commit-Position: refs/heads/master@{#419458}
Patch Set 1 #Patch Set 2 : Fixes unit test #
Messages
Total messages: 17 (9 generated)
|