Index: Source/platform/graphics/GraphicsContext.h |
diff --git a/Source/platform/graphics/GraphicsContext.h b/Source/platform/graphics/GraphicsContext.h |
index 56bb6b9bb4cabc1fbc3ba4df903e3f82ae8d43e3..7a9635fc388cd0ae684989e991a802ad48fabc72 100644 |
--- a/Source/platform/graphics/GraphicsContext.h |
+++ b/Source/platform/graphics/GraphicsContext.h |
@@ -168,8 +168,8 @@ public: |
bool shouldSmoothFonts() const { return m_shouldSmoothFonts; } |
// Turn off LCD text for the paint if not supported on this context. |
- void adjustTextRenderMode(SkPaint*); |
- bool couldUseLCDRenderedText(); |
+ void adjustTextRenderMode(SkPaint*) const; |
+ bool couldUseLCDRenderedText() const; |
void setTextDrawingMode(TextDrawingModeFlags mode) { mutableState()->setTextDrawingMode(mode); } |
TextDrawingModeFlags textDrawingMode() const { return immutableState()->textDrawingMode(); } |