DescriptionAdds a new constructor for gfx::Image on iOS.
Chrome iOS is moving to Objective-C Automatic Reference Counting. Under
it, arguments are supposed to be autoreleased. This CL adds a new
constructor that can take both a retained and an autoreleased object.
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
Committed: https://crrev.com/90031d9584452e5018e68a3ad2ff47634aab70b6
Cr-Commit-Position: refs/heads/master@{#437513}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Feedback #
Total comments: 2
Patch Set 3 : fixed compilation #Patch Set 4 : rebase #
Messages
Total messages: 25 (11 generated)
|