| Index: cc/test/tiled_layer_test_common.cc
|
| diff --git a/cc/test/tiled_layer_test_common.cc b/cc/test/tiled_layer_test_common.cc
|
| index 4336eacd8f1f2f0174285fa803e960722e884503..00f3c5af21cb756393c70537c6208488748f5074 100644
|
| --- a/cc/test/tiled_layer_test_common.cc
|
| +++ b/cc/test/tiled_layer_test_common.cc
|
| @@ -112,6 +112,15 @@ void FakeTiledLayer::setNeedsDisplayRect(const gfx::RectF& rect)
|
| TiledLayer::setNeedsDisplayRect(rect);
|
| }
|
|
|
| +void FakeTiledLayer::setCanUseLCDText(bool useLCDText)
|
| +{
|
| + // FIXME: Do not call TiledLayer::setCanUseLCDText, which changes border-texel option.
|
| + // Otherwise tests that rely on NoBorderTexels data and count the number of commits/updates will fail.
|
| + // This will be fixed once we decouple using LCD text and border texels on tiles.
|
| + // crbug.com/160072
|
| + Layer::setCanUseLCDText(useLCDText);
|
| +}
|
| +
|
| void FakeTiledLayer::setTexturePriorities(const PriorityCalculator& calculator)
|
| {
|
| // Ensure there is always a target render surface available. If none has been
|
|
|