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

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

Issue 1543593002: Forward fill and stroke styles from 2d canvas to canvas filters (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 2c2f5aab5a9322333f83915695e664ff6617228c..974ffc387497f4447651cb19832e8fd7ff28809e 100644
--- a/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h
+++ b/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h
@@ -29,6 +29,7 @@
#include "core/CoreExport.h"
#include "platform/graphics/filters/FilterEffect.h"
#include "platform/heap/Handle.h"
+#include "third_party/skia/include/core/SkShader.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
#include "wtf/RefPtr.h"
@@ -51,7 +52,7 @@ public:
virtual ~FilterEffectBuilder();
DECLARE_TRACE();
- bool build(Element*, const FilterOperations&, float zoom);
+ bool build(Element*, const FilterOperations&, float zoom, PassRefPtr<SkShader> fillShader = nullptr, PassRefPtr<SkShader> strokeShader = nullptr);
PassRefPtrWillBeRawPtr<FilterEffect> lastEffect() const
{

Powered by Google App Engine
This is Rietveld 408576698