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

Unified Diff: third_party/WebKit/Source/core/css/CSSPaintImageGenerator.h

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/css/CSSPaintImageGenerator.h
diff --git a/third_party/WebKit/Source/core/css/CSSPaintImageGenerator.h b/third_party/WebKit/Source/core/css/CSSPaintImageGenerator.h
index 2b459c6e4bcecae4e0b257820f39d82fe57d9084..8954619dabbf5db042362329a36e05cd10d563ca 100644
--- a/third_party/WebKit/Source/core/css/CSSPaintImageGenerator.h
+++ b/third_party/WebKit/Source/core/css/CSSPaintImageGenerator.h
@@ -39,7 +39,7 @@ public:
// Invokes the CSS Paint API 'paint' callback. May return a nullptr
// representing an invalid image if an error occurred.
- virtual PassRefPtr<Image> paint(const LayoutObject&, const IntSize&) = 0;
+ virtual PassRefPtr<Image> paint(const LayoutObject&, const IntSize&, float zoom) = 0;
virtual const Vector<CSSPropertyID>& nativeInvalidationProperties() const = 0;
virtual const Vector<AtomicString>& customInvalidationProperties() const = 0;

Powered by Google App Engine
This is Rietveld 408576698