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

Unified Diff: third_party/WebKit/Source/core/paint/FilterEffectBuilder.h

Issue 2326633002: Adds filter support for offscreen canvas (Closed)
Patch Set: Sync Created 3 years, 11 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/paint/FilterEffectBuilder.h
diff --git a/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h b/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h
index 3d7d597a2dca88062ebf40119696346d637db162..02f06ea87c6714185b4dcb89d8061562cf1e8066 100644
--- a/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h
+++ b/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h
@@ -49,6 +49,10 @@ class CORE_EXPORT FilterEffectBuilder final {
STACK_ALLOCATED();
public:
+ FilterEffectBuilder(const FloatRect& zoomedReferenceBox,
+ float zoom,
+ const SkPaint* fillPaint = nullptr,
+ const SkPaint* strokePaint = nullptr);
FilterEffectBuilder(Node*,
const FloatRect& zoomedReferenceBox,
float zoom,

Powered by Google App Engine
This is Rietveld 408576698