commit | f0753f059b3f14463deb64144dd0034352c725d5 | [log] [tgz] |
---|---|---|
author | davve <davve@opera.com> | Wed Nov 25 13:35:11 2015 |
committer | Commit bot <commit-bot@chromium.org> | Wed Nov 25 13:36:23 2015 |
tree | b74532d4e738155730abf8552d80c519abd720bc | |
parent | c627213cb98fc9dfc2ce67319dbfddde935d20f7 [diff] |
Avoid RefPtr churn This is a speculative fix for 560890, but seems like it might be a good idea anyway. We have a reference to the thing having a reference. No need to add another reference on top of that. In the process drop a null check in StyleFetchedImageSet::image(), ImageResource::image always returns an Image object. If nothing else the Image::nullImage(). BUG=560890 Review URL: https://codereview.chromium.org/1472253003 Cr-Commit-Position: refs/heads/master@{#361640}