| Index: cc/gl_renderer.cc
|
| diff --git a/cc/gl_renderer.cc b/cc/gl_renderer.cc
|
| index 016edd5f1b6998dca7b80310fcce2ae2c7902528..59eacef13dc3c369d69fbe73781423166c7cc8b5 100644
|
| --- a/cc/gl_renderer.cc
|
| +++ b/cc/gl_renderer.cc
|
| @@ -6,7 +6,6 @@
|
|
|
| #include "cc/gl_renderer.h"
|
|
|
| -#include "FloatRect.h"
|
| #include "base/debug/trace_event.h"
|
| #include "base/logging.h"
|
| #include "base/string_split.h"
|
| @@ -552,7 +551,7 @@ void GLRenderer::drawRenderPassQuad(DrawingFrame& frame, const RenderPassDrawQua
|
| LayerQuad deviceLayerEdges = LayerQuad(deviceQuad);
|
|
|
| // Use anti-aliasing programs only when necessary.
|
| - bool useAA = (!deviceQuad.IsRectilinear() || !cc::FloatRect(deviceQuad.BoundingBox()).isExpressibleAsIntRect());
|
| + bool useAA = (!deviceQuad.IsRectilinear() || !deviceQuad.BoundingBox().IsExpressibleAsRect());
|
| if (useAA) {
|
| deviceLayerBounds.inflateAntiAliasingDistance();
|
| deviceLayerEdges.inflateAntiAliasingDistance();
|
|
|