Index: Source/core/paint/TextPainter.h |
diff --git a/Source/core/paint/TextPainter.h b/Source/core/paint/TextPainter.h |
index 55c847f5e2c52edb78b5205477b7f4f8dcd388aa..8b64e78f6895b7bbb0ffc5897bf0acc0ff51166d 100644 |
--- a/Source/core/paint/TextPainter.h |
+++ b/Source/core/paint/TextPainter.h |
@@ -57,7 +57,7 @@ public: |
} |
bool operator!=(const Style& other) { return !(*this == other); } |
}; |
- static Style textPaintingStyle(RenderObject&, RenderStyle*, bool forceBlackText, bool isPrinting); |
+ static Style textPaintingStyle(RenderObject&, const RenderStyle*, bool forceBlackText, bool isPrinting); |
static Style selectionPaintingStyle(RenderObject&, bool haveSelection, bool forceBlackText, bool isPrinting, const Style& textStyle); |
enum RotationDirection { Counterclockwise, Clockwise }; |