Index: cc/tiled_layer_impl.cc |
diff --git a/cc/tiled_layer_impl.cc b/cc/tiled_layer_impl.cc |
index f76faad5fe5c042524ecd5e97ef2147a1698611e..404033013fd456e14e43ea1a3694f2537234a290 100644 |
--- a/cc/tiled_layer_impl.cc |
+++ b/cc/tiled_layer_impl.cc |
@@ -195,15 +195,10 @@ void TiledLayerImpl::appendQuads(QuadSink& quadSink, AppendQuadsData& appendQuad |
float tileHeight = static_cast<float>(m_tiler->tileSize().height()); |
gfx::Size textureSize(tileWidth, tileHeight); |
- bool clipped = false; |
- gfx::QuadF visibleContentInTargetQuad = MathUtil::mapQuad(drawTransform(), gfx::QuadF(visibleContentRect()), clipped); |
- bool isAxisAlignedInTarget = !clipped && visibleContentInTargetQuad.IsRectilinear(); |
- bool useAA = m_tiler->hasBorderTexels() && !isAxisAlignedInTarget; |
- |
- bool leftEdgeAA = !i && useAA; |
- bool topEdgeAA = !j && useAA; |
- bool rightEdgeAA = i == m_tiler->numTilesX() - 1 && useAA; |
- bool bottomEdgeAA = j == m_tiler->numTilesY() - 1 && useAA; |
+ bool leftEdgeAA = !i; |
+ bool topEdgeAA = !j; |
+ bool rightEdgeAA = i == m_tiler->numTilesX() - 1; |
+ bool bottomEdgeAA = j == m_tiler->numTilesY() - 1; |
scoped_ptr<TileDrawQuad> quad = TileDrawQuad::Create(); |
quad->SetNew(sharedQuadState, tileRect, tileOpaqueRect, tile->resourceId(), texCoordRect, textureSize, tile->contentsSwizzled(), leftEdgeAA, topEdgeAA, rightEdgeAA, bottomEdgeAA); |