| Index: third_party/WebKit/Source/core/fetch/ImageResource.h
|
| diff --git a/third_party/WebKit/Source/core/fetch/ImageResource.h b/third_party/WebKit/Source/core/fetch/ImageResource.h
|
| index 5cfe9cabc923686e63cde0554ad8560f9034b3ba..43eeabf34b94c428a1504b569be43dc684c485ac 100644
|
| --- a/third_party/WebKit/Source/core/fetch/ImageResource.h
|
| +++ b/third_party/WebKit/Source/core/fetch/ImageResource.h
|
| @@ -67,7 +67,8 @@ public:
|
| static std::pair<blink::Image*, float> brokenImage(float deviceScaleFactor); // Returns an image and the image's resolution scale factor.
|
| bool willPaintBrokenImage() const;
|
|
|
| - bool canRender(const LayoutObject& layoutObject, float multiplier) { return !errorOccurred() && !imageSizeForLayoutObject(&layoutObject, multiplier).isEmpty(); }
|
| + // Assumes that image rotation or scale doesn't effect the image size being empty or not.
|
| + bool canRender() { return !errorOccurred() && !imageSizeForLayoutObject(nullptr, 1).isEmpty(); }
|
|
|
| bool usesImageContainerSize() const;
|
| bool imageHasRelativeWidth() const;
|
|
|