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

Unified Diff: third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp

Issue 2104103003: Fix zoom in CSS paint worklets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 4 years, 6 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/StyleGeneratedImage.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp b/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp
index 1e63714f68877b4b0fe7f2cc73b0517b30daea8b..e03e8ecf5ab5fd3f5e6bb5e5c91f411a6e63657a 100644
--- a/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp
+++ b/third_party/WebKit/Source/core/style/StyleGeneratedImage.cpp
@@ -68,9 +68,9 @@ void StyleGeneratedImage::removeClient(LayoutObject* layoutObject)
m_imageGeneratorValue->removeClient(layoutObject);
}
-PassRefPtr<Image> StyleGeneratedImage::image(const LayoutObject& layoutObject, const IntSize& size, float) const
+PassRefPtr<Image> StyleGeneratedImage::image(const LayoutObject& layoutObject, const IntSize& size, float zoom) const
{
- return m_imageGeneratorValue->image(layoutObject, size);
+ return m_imageGeneratorValue->image(layoutObject, size, zoom);
}
bool StyleGeneratedImage::knownToBeOpaque(const LayoutObject& layoutObject) const

Powered by Google App Engine
This is Rietveld 408576698