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

Unified Diff: third_party/WebKit/Source/core/style/StyleFetchedImageSet.h

Issue 1463793002: Simplify ImageResource::canRender() (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/style/StyleFetchedImageSet.h
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
index 6b5b1419009be02ae4c5422f603dc563badd72a7..1805cb498c9480e144873950e4164534b24b70db 100644
--- a/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImageSet.h
@@ -59,7 +59,7 @@ public:
void clearImageSetValue() { m_imageSetValue = nullptr; }
#endif
- bool canRender(const LayoutObject&, float multiplier) const override;
+ bool canRender() const override;
bool isLoaded() const override;
bool errorOccurred() const override;
LayoutSize imageSize(const LayoutObject*, float multiplier) const override;

Powered by Google App Engine
This is Rietveld 408576698