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

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

Issue 2716203002: blink: Fix cc/paint skia type mismatches (Closed)
Patch Set: Fix canvas Created 3 years, 10 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 9032c61161a6c4349e33b068ebbde45f359fa8a9..cad404b3ec8c7f79c738496b944f9468e996e518 100644
--- a/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h
+++ b/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h
@@ -50,13 +50,13 @@ class CORE_EXPORT FilterEffectBuilder final {
public:
FilterEffectBuilder(const FloatRect& zoomedReferenceBox,
float zoom,
- const SkPaint* fillPaint = nullptr,
- const SkPaint* strokePaint = nullptr);
+ const PaintFlags* fillFlags = nullptr,
Stephen White 2017/02/27 13:44:59 Naming nit: while not new to this patch, this type
enne (OOO) 2017/02/27 17:42:38 vmpstr said almost word for word the same thing (a
+ const PaintFlags* strokeFlags = nullptr);
FilterEffectBuilder(Node*,
const FloatRect& zoomedReferenceBox,
float zoom,
- const PaintFlags* fillPaint = nullptr,
- const PaintFlags* strokePaint = nullptr);
+ const PaintFlags* fillFlags = nullptr,
+ const PaintFlags* strokeFlags = nullptr);
Filter* buildReferenceFilter(SVGFilterElement&,
FilterEffect* previousEffect,
@@ -73,8 +73,8 @@ class CORE_EXPORT FilterEffectBuilder final {
Member<Node> m_targetContext;
FloatRect m_referenceBox;
float m_zoom;
- const PaintFlags* m_fillPaint;
- const PaintFlags* m_strokePaint;
+ const PaintFlags* m_fillFlags;
+ const PaintFlags* m_strokeFlags;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698