diff options
author | davve <davve@opera.com> | 2016-03-07 05:53:33 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-07 13:55:29 +0000 |
commit | 8cc8a0e9395a2fc70d1a048e7e2862a9081cc70d (patch) | |
tree | 9a960758bcd593db5b70e6f92f43d1e158f8d1d1 /chrome/browser/password_manager/native_backend_gnome_x.cc | |
parent | df73c0f1ff73cd83009a654afa1d04561ef573d4 (diff) | |
download | chromium_src-8cc8a0e9395a2fc70d1a048e7e2862a9081cc70d.zip chromium_src-8cc8a0e9395a2fc70d1a048e7e2862a9081cc70d.tar.gz chromium_src-8cc8a0e9395a2fc70d1a048e7e2862a9081cc70d.tar.bz2 |
Shortcut 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
Review URL: https://codereview.chromium.org/1773503002
Cr-Commit-Position: refs/heads/master@{#379549}
Diffstat (limited to 'chrome/browser/password_manager/native_backend_gnome_x.cc')
0 files changed, 0 insertions, 0 deletions