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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.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: Rebase Created 4 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/svg/graphics/filters/SVGFilterBuilder.h
diff --git a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.h b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.h
index 6cfd03ccc3488711f3fc93aa3a1e0a7f6a1e2da2..c258b1e36baee5f977f35111cc054c0a07bd87a2 100644
--- a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.h
+++ b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFilterBuilder.h
@@ -29,6 +29,8 @@
#include "wtf/text/AtomicStringHash.h"
#include "wtf/text/WTFString.h"
+class SkPaint;
+
namespace blink {
class FloatRect;
@@ -77,7 +79,9 @@ class SVGFilterBuilder {
public:
SVGFilterBuilder(
PassRefPtrWillBeRawPtr<FilterEffect> sourceGraphic,
- PassRefPtrWillBeRawPtr<SVGFilterGraphNodeMap> = nullptr);
+ PassRefPtrWillBeRawPtr<SVGFilterGraphNodeMap> = nullptr,
+ const SkPaint* fillPaint = nullptr,
+ const SkPaint* strokePaint = nullptr);
void buildGraph(Filter*, SVGFilterElement&, const FloatRect&);

Powered by Google App Engine
This is Rietveld 408576698