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

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

Issue 2640983002: Rename paint data structures (Closed)
Patch Set: DrawingDisplayItem 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 02f06ea87c6714185b4dcb89d8061562cf1e8066..9032c61161a6c4349e33b068ebbde45f359fa8a9 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;
@@ -56,8 +55,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,
@@ -74,8 +73,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