Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutImageResourceStyleImage.h

Issue 1431193004: Reland of Make LayoutImageResource::image() parameter explicit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutImageResourceStyleImage.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutImageResourceStyleImage.h b/third_party/WebKit/Source/core/layout/LayoutImageResourceStyleImage.h
index 0dd704d8d66a64a31fb8bbab50575a8cac05152f..3ed1625dc25383d7b681eb4e53a7b4492de0c206 100644
--- a/third_party/WebKit/Source/core/layout/LayoutImageResourceStyleImage.h
+++ b/third_party/WebKit/Source/core/layout/LayoutImageResourceStyleImage.h
@@ -46,7 +46,7 @@
void shutdown() override;
bool hasImage() const override { return true; }
- PassRefPtr<Image> image(int width = 0, int height = 0) const override;
+ PassRefPtr<Image> image(const IntSize&) const override;
bool errorOccurred() const override { return m_styleImage->errorOccurred(); }
void setContainerSizeForLayoutObject(const IntSize&) override;

Powered by Google App Engine
This is Rietveld 408576698