| Index: third_party/WebKit/Source/platform/graphics/GeneratedImage.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/GeneratedImage.h b/third_party/WebKit/Source/platform/graphics/GeneratedImage.h
|
| index c0a7cc9fa9bac9031308826ccf73362bc56531fb..99c18382d5d525b90ef19d6b64c3e585faa1655d 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/GeneratedImage.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/GeneratedImage.h
|
| @@ -27,6 +27,7 @@
|
| #define GeneratedImage_h
|
|
|
| #include "platform/geometry/IntSize.h"
|
| +#include "platform/geometry/LayoutSize.h"
|
| #include "platform/graphics/Image.h"
|
| #include "wtf/RefPtr.h"
|
|
|
| @@ -36,7 +37,7 @@ class PLATFORM_EXPORT GeneratedImage : public Image {
|
| public:
|
| bool currentFrameHasSingleSecurityOrigin() const override { return true; }
|
|
|
| - void setContainerSize(const IntSize& size) override { m_size = size; }
|
| + void setContainerSize(const LayoutSize& size) override { m_size = roundedIntSize(size); }
|
| bool usesContainerSize() const override { return true; }
|
| bool hasRelativeWidth() const override { return true; }
|
| bool hasRelativeHeight() const override { return true; }
|
|
|