Chromium Code Reviews| Index: cc/layer_tree_host_common.cc |
| diff --git a/cc/layer_tree_host_common.cc b/cc/layer_tree_host_common.cc |
| index c28db4087d3f31f8d5c671f1042c957d8e43b441..f7c38a0a2563c78eaa53349f6632dad5b4e2bd34 100644 |
| --- a/cc/layer_tree_host_common.cc |
| +++ b/cc/layer_tree_host_common.cc |
| @@ -731,7 +731,7 @@ static void calculateDrawPropertiesInternal(LayerType* layer, const gfx::Transfo |
| // To avoid color fringing, LCD text should only be used on opaque layers with just integral translation. |
| bool layerCanUseLCDText = subtreeCanUseLCDText && |
| (accumulatedDrawOpacity == 1.0) && |
| - layerDrawProperties.target_space_transform.IsIdentityOrIntegerTranslation(); |
| + layerDrawProperties.target_space_transform.IsAlmostIdentityOrIntegerTranslation(); |
|
alokp
2013/03/08 19:40:06
If you make a decision based on rounded transform,
Xianzhu
2013/03/08 23:36:56
Do you have experience about how much pixel displa
|
| gfx::RectF contentRect(gfx::PointF(), layer->contentBounds()); |