diff options
author | davve <davve@opera.com> | 2015-11-08 07:33:48 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-08 15:34:37 +0000 |
commit | 20fa2832b2650a8654bfd8226561046760ebbfc9 (patch) | |
tree | 0e25b82e78d633ab6d85edda65340f6f48e9fb7c /third_party/WebKit/Source/core/layout/LayoutImageResourceStyleImage.h | |
parent | 56d4322188c7d4fd55d081a861c04d6165b0650b (diff) | |
download | chromium_src-20fa2832b2650a8654bfd8226561046760ebbfc9.zip chromium_src-20fa2832b2650a8654bfd8226561046760ebbfc9.tar.gz chromium_src-20fa2832b2650a8654bfd8226561046760ebbfc9.tar.bz2 |
Revert of Make LayoutImageResource::image() parameter explicit (patchset #2 id:20001 of https://codereview.chromium.org/1411693006/ )
Reason for revert:
Seems to have caused 553045
Original issue's description:
> Make LayoutImageResource::image() parameter explicit
>
> It makes the code more explicit and easier to read. No functional
> change expected.
>
> BUG=551419
>
> Committed: https://crrev.com/3059b983258e55aeacef6e0b04bdd35a72436d3b
> Cr-Commit-Position: refs/heads/master@{#358287}
TBR=fs@opera.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=551419
Review URL: https://codereview.chromium.org/1431973002
Cr-Commit-Position: refs/heads/master@{#358551}
Diffstat (limited to 'third_party/WebKit/Source/core/layout/LayoutImageResourceStyleImage.h')
-rw-r--r-- | third_party/WebKit/Source/core/layout/LayoutImageResourceStyleImage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/WebKit/Source/core/layout/LayoutImageResourceStyleImage.h b/third_party/WebKit/Source/core/layout/LayoutImageResourceStyleImage.h index 3ed1625..0dd704d 100644 --- a/third_party/WebKit/Source/core/layout/LayoutImageResourceStyleImage.h +++ b/third_party/WebKit/Source/core/layout/LayoutImageResourceStyleImage.h @@ -46,7 +46,7 @@ public: void shutdown() override; bool hasImage() const override { return true; } - PassRefPtr<Image> image(const IntSize&) const override; + PassRefPtr<Image> image(int width = 0, int height = 0) const override; bool errorOccurred() const override { return m_styleImage->errorOccurred(); } void setContainerSizeForLayoutObject(const IntSize&) override; |