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

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

Issue 2523673004: [NOT FOR COMMIT] Fully replace SkCanvas uses.
Patch Set: Support Android build. Created 4 years 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..a1b504e49d36a66187b3274a4b8062086124928f 100644
--- a/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h
+++ b/third_party/WebKit/Source/core/paint/FilterEffectBuilder.h
@@ -29,10 +29,9 @@
#include "core/CoreExport.h"
#include "platform/geometry/FloatRect.h"
#include "platform/heap/Handle.h"
+#include "skia/ext/cdl_common.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 CdlPaint* fillPaint = nullptr,
+ const CdlPaint* 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 CdlPaint* m_fillPaint;
+ const CdlPaint* m_strokePaint;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698