DescriptionAvoid 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
Committed: https://crrev.com/f0753f059b3f14463deb64144dd0034352c725d5
Cr-Commit-Position: refs/heads/master@{#361640}
Patch Set 1 #
Messages
Total messages: 14 (6 generated)
|