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/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: 2nd rebase Created 4 years, 5 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 7e0df358b5f7f91eabd3adc90a57ac1168879876..b4b720a33e3a99000322cbb789d528435188d154 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; }
bool hasAlpha() const { return m_hasAlpha; }

Powered by Google App Engine
This is Rietveld 408576698