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

Unified Diff: third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.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/modules/csspaint/CSSPaintDefinition.h
diff --git a/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h b/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h
index b48cf2a89486bcb704e3532a8141b398ce2d5cb6..2ed070826be89d7906981d4d1468c28f0109eabf 100644
--- a/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h
+++ b/third_party/WebKit/Source/modules/csspaint/CSSPaintDefinition.h
@@ -30,7 +30,7 @@ public:
//
// This may return a nullptr (representing an invalid image) if javascript
// throws an error.
- PassRefPtr<Image> paint(const LayoutObject&, const IntSize&);
+ PassRefPtr<Image> paint(const LayoutObject&, const IntSize&, float zoom);
const Vector<CSSPropertyID>& nativeInvalidationProperties() const { return m_nativeInvalidationProperties; }
const Vector<AtomicString>& customInvalidationProperties() const { return m_customInvalidationProperties; }

Powered by Google App Engine
This is Rietveld 408576698