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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePaintServer.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/layout/svg/LayoutSVGResourcePaintServer.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePaintServer.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePaintServer.h
index 6999217e7af279e50b1a066455b2c2d173ab3840..7121806fda1ad6df6f34766d4b38d2cb41868fa5 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePaintServer.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePaintServer.h
@@ -25,10 +25,9 @@
#include "platform/graphics/Gradient.h"
#include "platform/graphics/Pattern.h"
#include "platform/transforms/AffineTransform.h"
+#include "skia/ext/cdl_common.h"
#include "wtf/Allocator.h"
-class SkPaint;
-
namespace blink {
enum LayoutSVGResourceMode {
@@ -55,7 +54,7 @@ class SVGPaintServer {
const ComputedStyle&,
LayoutSVGResourceMode);
- void applyToSkPaint(SkPaint&, float paintAlpha);
+ void applyToSkPaint(CdlPaint&, float paintAlpha);
static SVGPaintServer invalid() {
return SVGPaintServer(Color(Color::transparent));

Powered by Google App Engine
This is Rietveld 408576698