Chromium Code Reviews| Index: cc/tiled_layer.cc |
| diff --git a/cc/tiled_layer.cc b/cc/tiled_layer.cc |
| index 77be6eb93aacac1529c0a883400d410a42524415..391ce68ee048574001a28fce6a0e170fe1973fae 100644 |
| --- a/cc/tiled_layer.cc |
| +++ b/cc/tiled_layer.cc |
| @@ -272,20 +272,6 @@ void TiledLayer::setNeedsDisplayRect(const gfx::RectF& dirtyRect) |
| ContentsScalingLayer::setNeedsDisplayRect(dirtyRect); |
| } |
| -void TiledLayer::setUseLCDText(bool useLCDText) |
| -{ |
| - ContentsScalingLayer::setUseLCDText(useLCDText); |
| - |
| - LayerTilingData::BorderTexelOption borderTexelOption; |
| -#if defined(OS_ANDROID) |
| - // Always want border texels and GL_LINEAR due to pinch zoom. |
| - borderTexelOption = LayerTilingData::HasBorderTexels; |
| -#else |
| - borderTexelOption = useLCDText ? LayerTilingData::NoBorderTexels : LayerTilingData::HasBorderTexels; |
| -#endif |
| - setBorderTexelOption(borderTexelOption); |
|
jamesr
2012/11/12 23:42:25
If you're ripping this out then a lot of other cod
|
| -} |
| - |
| void TiledLayer::invalidateContentRect(const gfx::Rect& contentRect) |
| { |
| updateBounds(); |