| Index: Source/platform/graphics/GraphicsContext.cpp
|
| diff --git a/Source/platform/graphics/GraphicsContext.cpp b/Source/platform/graphics/GraphicsContext.cpp
|
| index eb7f45712d580d03000b4ab6cf538b52f9f6aab8..3baa92ff0c32abab523a7540a7aee2b122fc4499 100644
|
| --- a/Source/platform/graphics/GraphicsContext.cpp
|
| +++ b/Source/platform/graphics/GraphicsContext.cpp
|
| @@ -419,19 +419,6 @@ void GraphicsContext::adjustTextRenderMode(SkPaint* paint) const
|
| paint->setLCDRenderText(couldUseLCDRenderedText());
|
| }
|
|
|
| -bool GraphicsContext::couldUseLCDRenderedText() const
|
| -{
|
| - ASSERT(m_canvas);
|
| - // Our layers only have a single alpha channel. This means that subpixel
|
| - // 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() || m_canvas->isDrawingToLayer() || !isCertainlyOpaque())
|
| - return false;
|
| -
|
| - return shouldSmoothFonts();
|
| -}
|
| -
|
| void GraphicsContext::setCompositeOperation(CompositeOperator compositeOperation, WebBlendMode blendMode)
|
| {
|
| if (contextDisabled())
|
|
|