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

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

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: Clean up comments, fix mac build 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..de4af2fbaa0d0ba0553e331ad78f114777cc38e6 100644
--- a/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h
+++ b/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h
@@ -28,11 +28,10 @@
#include "core/CoreExport.h"
#include "platform/geometry/FloatRect.h"
+#include "platform/graphics/paint/PaintFlags.h"
#include "platform/heap/Handle.h"
#include "wtf/Allocator.h"
-class SkPaint;
-
namespace blink {
class CompositorFilterOperations;
@@ -52,8 +51,8 @@ class CORE_EXPORT FilterEffectBuilder final {
FilterEffectBuilder(Node*,
const FloatRect& zoomedReferenceBox,
float zoom,
- const SkPaint* fillPaint = nullptr,
- const SkPaint* strokePaint = nullptr);
+ const PaintFlags* fillPaint = nullptr,
+ const PaintFlags* strokePaint = nullptr);
Filter* buildReferenceFilter(SVGFilterElement&,
FilterEffect* previousEffect,
@@ -70,8 +69,8 @@ class CORE_EXPORT FilterEffectBuilder final {
Member<Node> m_targetContext;
FloatRect m_referenceBox;
float m_zoom;
- const SkPaint* m_fillPaint;
- const SkPaint* m_strokePaint;
+ const PaintFlags* m_fillPaint;
+ const PaintFlags* m_strokePaint;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698