• stkhapugin's avatar
    Converts part of ios/web/ui to ARC. · ae7aa895
    stkhapugin authored
    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
    
    Review-Url: https://codereview.chromium.org/2340343002
    Cr-Commit-Position: refs/heads/master@{#419458}
    ae7aa895
mojo_facade.mm 9.04 KB