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

Unified Diff: Source/core/paint/SVGPaintContext.h

Issue 1070703002: Explicitly use SkPaint(s) in SVGInlineTextBoxPainter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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
« no previous file with comments | « Source/core/paint/SVGInlineTextBoxPainter.cpp ('k') | Source/core/paint/SVGPaintContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/SVGPaintContext.h
diff --git a/Source/core/paint/SVGPaintContext.h b/Source/core/paint/SVGPaintContext.h
index eca885c0508bd6afa5ad131ed3c5004593074122..b91fcdd7c2835e9c7ad533357f5c534359dcb4f6 100644
--- a/Source/core/paint/SVGPaintContext.h
+++ b/Source/core/paint/SVGPaintContext.h
@@ -27,6 +27,7 @@
#include "core/layout/PaintInfo.h"
#include "core/layout/svg/LayoutSVGResourceClipper.h"
+#include "core/layout/svg/LayoutSVGResourcePaintServer.h"
#include "core/paint/CompositingRecorder.h"
#include "core/paint/FloatClipRecorder.h"
#include "core/paint/SVGClipPainter.h"
@@ -65,6 +66,10 @@ public:
static void paintSubtree(GraphicsContext*, LayoutObject*);
+ // TODO(fs): This functions feels a bit misplaced (we don't want this to
+ // turn into the new kitchen sink). Move it if a better location surfaces.
+ static bool paintForLayoutObject(const PaintInfo&, const ComputedStyle&, LayoutObject&, LayoutSVGResourceMode, SkPaint&, const AffineTransform* additionalPaintServerTransform = nullptr);
f(malita) 2015/04/08 14:49:14 I wonder if at some point we'll be able to just fo
fs 2015/04/08 15:03:39 Yes, I hope it'll be possible to merge this with S
+
private:
void applyCompositingIfNecessary();
« no previous file with comments | « Source/core/paint/SVGInlineTextBoxPainter.cpp ('k') | Source/core/paint/SVGPaintContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698