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

Unified Diff: Source/core/layout/svg/SVGLayoutSupport.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
Index: Source/core/layout/svg/SVGLayoutSupport.h
diff --git a/Source/core/layout/svg/SVGLayoutSupport.h b/Source/core/layout/svg/SVGLayoutSupport.h
index 4258ff7df729f6b034c52aae99baddf5964e3fda..0273d7eb649c006de29407d526b2a5e7d5dbc7db 100644
--- a/Source/core/layout/svg/SVGLayoutSupport.h
+++ b/Source/core/layout/svg/SVGLayoutSupport.h
@@ -24,7 +24,8 @@
#ifndef SVGLayoutSupport_h
#define SVGLayoutSupport_h
-#include "core/layout/svg/LayoutSVGResourcePaintServer.h"
+#include "core/layout/LayoutObject.h"
+#include "core/style/SVGComputedStyleDefs.h"
#include "platform/graphics/DashArray.h"
namespace blink {
@@ -32,11 +33,8 @@ namespace blink {
class AffineTransform;
class FloatPoint;
class FloatRect;
-class GraphicsContext;
-class GraphicsContextStateSaver;
class PaintInvalidationState;
class LayoutRect;
-struct PaintInfo;
class LayoutGeometryMap;
class LayoutBoxModelObject;
class LayoutObject;
@@ -80,16 +78,10 @@ public:
static const LayoutObject* pushMappingToContainer(const LayoutObject*, const LayoutBoxModelObject* ancestorToStopAt, LayoutGeometryMap&);
// Shared between SVG layoutObjects and resources.
- static void applyStrokeStyleToContext(GraphicsContext&, const ComputedStyle&, const LayoutObject&);
static void applyStrokeStyleToStrokeData(StrokeData&, const ComputedStyle&, const LayoutObject&);
static DashArray resolveSVGDashArray(const SVGDashArray&, const ComputedStyle&, const SVGLengthContext&);
- // Update the GC state (on |paintInfo.context|) for painting |layoutObject|
- // using |style|. |resourceMode| is used to decide between fill/stroke.
- // Previous state will be saved (if needed) using |stateSaver|.
- static bool updateGraphicsContext(const PaintInfo&, GraphicsContextStateSaver&, const ComputedStyle&, LayoutObject&, LayoutSVGResourceMode, const AffineTransform* additionalPaintServerTransform = 0);
-
// Determines if any ancestor's transform has changed.
static bool transformToRootChanged(LayoutObject*);

Powered by Google App Engine
This is Rietveld 408576698