Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Issue 2500373004: Changes behavior of iOS-specific gfx::Image constructor. (Closed)

Created:
4 years, 1 month ago by stkhapugin
Modified:
4 years ago
Reviewers:
Nico, sdefresne
CC:
chromium-reviews, rsesek+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Changes behavior of iOS-specific gfx::Image constructor. 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 Committed: https://crrev.com/2a1f622ddc372a0bd4206fb01c45f4ebbe37258b Cr-Commit-Position: refs/heads/master@{#438223}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : remove files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M ui/gfx/image/image.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/gfx/image/image.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 16 (6 generated)
stkhapugin
PTAL
4 years, 1 month ago (2016-11-22 14:07:37 UTC) #2
Nico
(i'm waiting for sdefresne to look at this series; happy to stamp once he's happy.)
4 years ago (2016-12-02 01:12:44 UTC) #3
stkhapugin
Sylvain, PTAL
4 years ago (2016-12-06 12:25:20 UTC) #5
sdefresne
I think you added files that should not be part of this CL (anything below ...
4 years ago (2016-12-06 12:28:01 UTC) #6
stkhapugin
PTAL, sorry for that.
4 years ago (2016-12-06 12:55:57 UTC) #7
sdefresne
lgtm
4 years ago (2016-12-06 13:04:15 UTC) #8
Nico
lgtm; i'm assuming you've checked that all callers won't leak after this
4 years ago (2016-12-06 13:52:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2500373004/40001
4 years ago (2016-12-13 17:01:35 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-13 18:07:45 UTC) #14
commit-bot: I haz the power
4 years ago (2016-12-13 18:11:51 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/2a1f622ddc372a0bd4206fb01c45f4ebbe37258b
Cr-Commit-Position: refs/heads/master@{#438223}

Powered by Google App Engine
This is Rietveld 408576698