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

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

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 9 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/ObjectPainter.cpp ('k') | Source/core/paint/SVGInlineTextBoxPainter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/SVGInlineTextBoxPainter.h
diff --git a/Source/core/paint/SVGInlineTextBoxPainter.h b/Source/core/paint/SVGInlineTextBoxPainter.h
index 54e1c0c5e54e239328225ccc8ae28283782149e9..d382dc6a02adf111c52e07b868b10d5f6112dbba 100644
--- a/Source/core/paint/SVGInlineTextBoxPainter.h
+++ b/Source/core/paint/SVGInlineTextBoxPainter.h
@@ -5,7 +5,7 @@
#ifndef SVGInlineTextBoxPainter_h
#define SVGInlineTextBoxPainter_h
-#include "core/layout/style/LayoutStyleConstants.h"
+#include "core/layout/style/ComputedStyleConstants.h"
#include "core/layout/svg/LayoutSVGResourcePaintServer.h"
namespace blink {
@@ -15,7 +15,7 @@ class Font;
class GraphicsContext;
struct PaintInfo;
class LayoutPoint;
-class LayoutStyle;
+class ComputedStyle;
class SVGInlineTextBox;
struct SVGTextFragment;
class TextRun;
@@ -26,14 +26,14 @@ public:
SVGInlineTextBoxPainter(SVGInlineTextBox& svgInlineTextBox) : m_svgInlineTextBox(svgInlineTextBox) { }
void paint(const PaintInfo&, const LayoutPoint&);
void paintSelectionBackground(const PaintInfo&);
- virtual void paintTextMatchMarker(GraphicsContext*, const FloatPoint&, DocumentMarker*, const LayoutStyle&, const Font&);
+ virtual void paintTextMatchMarker(GraphicsContext*, const FloatPoint&, DocumentMarker*, const ComputedStyle&, const Font&);
private:
bool shouldPaintSelection() const;
void paintTextFragments(const PaintInfo&, LayoutObject&);
void paintDecoration(const PaintInfo&, TextDecoration, const SVGTextFragment&);
- void paintTextWithShadows(const PaintInfo&, const LayoutStyle&, TextRun&, const SVGTextFragment&, int startPosition, int endPosition, LayoutSVGResourceMode);
- void paintText(const PaintInfo&, const LayoutStyle&, const LayoutStyle& selectionStyle, const SVGTextFragment&, LayoutSVGResourceMode, bool shouldPaintSelection);
+ void paintTextWithShadows(const PaintInfo&, const ComputedStyle&, TextRun&, const SVGTextFragment&, int startPosition, int endPosition, LayoutSVGResourceMode);
+ void paintText(const PaintInfo&, const ComputedStyle&, const ComputedStyle& selectionStyle, const SVGTextFragment&, LayoutSVGResourceMode, bool shouldPaintSelection);
SVGInlineTextBox& m_svgInlineTextBox;
};
« no previous file with comments | « Source/core/paint/ObjectPainter.cpp ('k') | Source/core/paint/SVGInlineTextBoxPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698