• stkhapugin's avatar
    Changes behavior of iOS-specific gfx::Image constructor. · 2a1f622d
    stkhapugin authored
    Chrome iOS is moving to Objective-C Automatic Reference Counting. Under
    it, arguments are supposed to be autoreleased. This CL changes the constructor to retain its argument..
    This is a part of a multiple CL setup that will change the Image(UIImage*) constructor from consuming +1 refcount to retaining the argument.
    
    TEST=none
    BUG=645125
    
    Review-Url: https://codereview.chromium.org/2500373004
    Cr-Commit-Position: refs/heads/master@{#438223}
    2a1f622d
image.cc 22.5 KB