DescriptionShortcut ImageResource::canRender()
Move the little work ImageResource::canRender() does out of fetch/ and
into the respective call sites. A small step towards getting rid of
ImageResource::imageSize() and limiting ImageResource to fetch related
functionality.
It's assumed that ImageResource::image() never returns the nullptr and
that !errorOccurred() implies the an image or the nullImage if no
image is available.
BUG=581357
Committed: https://crrev.com/8cc8a0e9395a2fc70d1a048e7e2862a9081cc70d
Cr-Commit-Position: refs/heads/master@{#379549}
Patch Set 1 #
Messages
Total messages: 16 (7 generated)
|