Index: Source/platform/graphics/GraphicsContext.cpp |
diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp |
index f40f5c98a3d134f14998cef88eab492597ef62f7..0f15c1dea38969b7375b9f66ee024899f61e475a 100644 |
--- a/Source/platform/graphics/GraphicsContext.cpp |
+++ b/Source/platform/graphics/GraphicsContext.cpp |
@@ -378,7 +378,7 @@ SkMatrix GraphicsContext::getTotalMatrix() const |
return totalMatrix; |
} |
-void GraphicsContext::adjustTextRenderMode(SkPaint* paint) |
+void GraphicsContext::adjustTextRenderMode(SkPaint* paint) const |
{ |
if (contextDisabled()) |
return; |
@@ -389,7 +389,7 @@ void GraphicsContext::adjustTextRenderMode(SkPaint* paint) |
paint->setLCDRenderText(couldUseLCDRenderedText()); |
} |
-bool GraphicsContext::couldUseLCDRenderedText() |
+bool GraphicsContext::couldUseLCDRenderedText() const |
{ |
// Our layers only have a single alpha channel. This means that subpixel |
// rendered text cannot be composited correctly when the layer is |