| OLD | NEW |
| (Empty) |
| 1 --- platform/graphics/GraphicsContext.cpp | |
| 2 +++ platform/graphics/GraphicsContext.cpp | |
| 3 @@ -419,19 +419,6 @@ | |
| 4 paint->setLCDRenderText(couldUseLCDRenderedText()); | |
| 5 } | |
| 6 | |
| 7 -bool GraphicsContext::couldUseLCDRenderedText() const | |
| 8 -{ | |
| 9 - ASSERT(m_canvas); | |
| 10 - // Our layers only have a single alpha channel. This means that subpixel | |
| 11 - // rendered text cannot be composited correctly when the layer is | |
| 12 - // collapsed. Therefore, subpixel text is contextDisabled when we are drawi
ng | |
| 13 - // onto a layer. | |
| 14 - if (contextDisabled() || m_canvas->isDrawingToLayer() || !isCertainlyOpaque
()) | |
| 15 - return false; | |
| 16 - | |
| 17 - return shouldSmoothFonts(); | |
| 18 -} | |
| 19 - | |
| 20 void GraphicsContext::setCompositeOperation(CompositeOperator compositeOperatio
n, WebBlendMode blendMode) | |
| 21 { | |
| 22 if (contextDisabled()) | |
| OLD | NEW |