| Index: Source/core/platform/graphics/GraphicsContext.h
|
| diff --git a/Source/core/platform/graphics/GraphicsContext.h b/Source/core/platform/graphics/GraphicsContext.h
|
| index e1d60e8073f2c91d6cb822a802c1b95a74f17a2d..77ba1849fc9d7440ed55127c126dcf4d4453f2a6 100644
|
| --- a/Source/core/platform/graphics/GraphicsContext.h
|
| +++ b/Source/core/platform/graphics/GraphicsContext.h
|
| @@ -265,9 +265,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 TextRun&, const FloatPoint&, const FloatRect& textRect, int from = 0, int to = -1);
|
| + void drawEmphasisMarks(const Font&, const TextRun& , const AtomicString& mark, const FloatPoint&, const FloatRect& textRect, int from = 0, int to = -1);
|
| + void drawBidiText(const Font&, const TextRun&, const FloatPoint&, const FloatRect& textRect, 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 {
|
|
|