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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/PaintFilterEffect.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/platform/graphics/filters/PaintFilterEffect.h
diff --git a/third_party/WebKit/Source/platform/graphics/filters/PaintFilterEffect.h b/third_party/WebKit/Source/platform/graphics/filters/PaintFilterEffect.h
index 3280cb59774e9f95e2133fabcda55dcbb971a7c5..766189865b092c990953abdbe5b98057bb3c443a 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/PaintFilterEffect.h
+++ b/third_party/WebKit/Source/platform/graphics/filters/PaintFilterEffect.h
@@ -6,13 +6,13 @@
#define PaintFilterEffect_h
#include "platform/graphics/filters/FilterEffect.h"
-#include "third_party/skia/include/core/SkPaint.h"
+#include "platform/graphics/paint/PaintFlags.h"
namespace blink {
class PLATFORM_EXPORT PaintFilterEffect : public FilterEffect {
public:
- static PaintFilterEffect* create(Filter*, const SkPaint&);
+ static PaintFilterEffect* create(Filter*, const PaintFlags&);
~PaintFilterEffect() override;
FilterEffectType getFilterEffectType() const override {
@@ -23,9 +23,9 @@ class PLATFORM_EXPORT PaintFilterEffect : public FilterEffect {
sk_sp<SkImageFilter> createImageFilter() override;
private:
- PaintFilterEffect(Filter*, const SkPaint&);
+ PaintFilterEffect(Filter*, const PaintFlags&);
- SkPaint m_paint;
+ PaintFlags m_paint;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698