| Index: Source/platform/graphics/GraphicsContext.cpp
|
| diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp
|
| index de6143bc25d1b4ffc9acf2762cfb0d2c39f96019..01afdb9e498738c88fb39b3959b8aed989e41b91 100644
|
| --- a/Source/platform/graphics/GraphicsContext.cpp
|
| +++ b/Source/platform/graphics/GraphicsContext.cpp
|
| @@ -381,7 +381,7 @@ bool GraphicsContext::couldUseLCDRenderedText()
|
| // rendered text cannot be composited correctly when the layer is
|
| // collapsed. Therefore, subpixel text is contextDisabled when we are drawing
|
| // onto a layer.
|
| - if (contextDisabled() || isDrawingToLayer() || !isCertainlyOpaque())
|
| + if (contextDisabled() || m_canvas->isDrawingToLayer() || !isCertainlyOpaque())
|
| return false;
|
|
|
| return shouldSmoothFonts();
|
|
|