| Index: Source/core/platform/graphics/GraphicsContext.h
|
| diff --git a/Source/core/platform/graphics/GraphicsContext.h b/Source/core/platform/graphics/GraphicsContext.h
|
| index 0950941052c961435902fd2f71079e204962ddfa..44cc5f4616ae2e7e27c096c2382a7be187a6f4ee 100644
|
| --- a/Source/core/platform/graphics/GraphicsContext.h
|
| +++ b/Source/core/platform/graphics/GraphicsContext.h
|
| @@ -69,6 +69,7 @@ namespace WebCore {
|
| class KURL;
|
| class GraphicsContext3D;
|
| class TextRun;
|
| + struct TextRunPaintInfo;
|
| class TransformationMatrix;
|
|
|
| enum TextDrawingMode {
|
| @@ -272,9 +273,9 @@ namespace WebCore {
|
| TextDrawingModeFlags textDrawingMode() const;
|
| void setTextDrawingMode(TextDrawingModeFlags);
|
|
|
| - void drawText(const Font&, const TextRun&, const FloatPoint&, int from = 0, int to = -1);
|
| - void drawEmphasisMarks(const Font&, const TextRun& , const AtomicString& mark, const FloatPoint&, int from = 0, int to = -1);
|
| - void drawBidiText(const Font&, const TextRun&, const FloatPoint&, Font::CustomFontNotReadyAction = Font::DoNotPaintIfFontNotReady);
|
| + void drawText(const Font&, const TextRunPaintInfo&, const FloatPoint&);
|
| + void drawEmphasisMarks(const Font&, const TextRunPaintInfo&, const AtomicString& mark, const FloatPoint&);
|
| + void drawBidiText(const Font&, const TextRunPaintInfo&, const FloatPoint&, Font::CustomFontNotReadyAction = Font::DoNotPaintIfFontNotReady);
|
| void drawHighlightForText(const Font&, const TextRun&, const FloatPoint&, int h, const Color& backgroundColor, ColorSpace, int from = 0, int to = -1);
|
|
|
| enum RoundingMode {
|
|
|