Remove (trivially) unneeded ImageResourceContent::IntrinsicSize calls
Since SVGImage is handled explicitly already, and we pass kDoNotRespectImageOrientation to IntrinsicSize() in these functions, just call Image::Size() directly rather than passing through the ImageResourceContent method. Bug: 773272 Change-Id: I6b7c24f5be425f04cd2f68cbc4612054b635bc2b Reviewed-on: https://chromium-review.googlesource.com/1032745Reviewed-by:Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#554763}
Showing
Please register or sign in to comment