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

Unified Diff: third_party/WebKit/Source/core/style/StyleFetchedImage.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/StyleFetchedImage.h
diff --git a/third_party/WebKit/Source/core/style/StyleFetchedImage.h b/third_party/WebKit/Source/core/style/StyleFetchedImage.h
index 9b5c9ab3f9ed38a7690e98aacdd48b6bcec002f7..6d13020c617f32c5653d557699a7d2c9610754da 100644
--- a/third_party/WebKit/Source/core/style/StyleFetchedImage.h
+++ b/third_party/WebKit/Source/core/style/StyleFetchedImage.h
@@ -47,7 +47,7 @@ public:
PassRefPtrWillBeRawPtr<CSSValue> cssValue() const override;
PassRefPtrWillBeRawPtr<CSSValue> computedCSSValue() const override;
- 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