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

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

Issue 2847303002: Remove unnecessary zoom argument from GetImage() as its value is always available through the Layou… (Closed)
Patch Set: (rebased) Created 3 years, 7 months 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/StyleInvalidImage.h
diff --git a/third_party/WebKit/Source/core/style/StyleInvalidImage.h b/third_party/WebKit/Source/core/style/StyleInvalidImage.h
index b7893ec1006899cc30272179fa0a5a7103993d5b..ea7bcb904dcd9c9b2cb1c8fcca7afdbb3d1d479b 100644
--- a/third_party/WebKit/Source/core/style/StyleInvalidImage.h
+++ b/third_party/WebKit/Source/core/style/StyleInvalidImage.h
@@ -34,8 +34,7 @@ class StyleInvalidImage final : public StyleImage {
void AddClient(LayoutObject*) override {}
void RemoveClient(LayoutObject*) override {}
PassRefPtr<Image> GetImage(const LayoutObject&,
- const IntSize&,
- float) const override {
+ const IntSize&) const override {
return nullptr;
}
bool KnownToBeOpaque(const LayoutObject&) const override { return false; }
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleImage.h ('k') | third_party/WebKit/Source/core/style/StylePendingImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698