| Index: cc/layer_sorter.cc
|
| diff --git a/cc/layer_sorter.cc b/cc/layer_sorter.cc
|
| index e251e11dc5e8d9764bf5997e6233d01a6b5c5667..c4a540d6d5ec75958702ecd5a7b888ff9318a292 100644
|
| --- a/cc/layer_sorter.cc
|
| +++ b/cc/layer_sorter.cc
|
| @@ -149,7 +149,7 @@ LayerShape::LayerShape()
|
|
|
| LayerShape::LayerShape(float width, float height, const WebTransformationMatrix& drawTransform)
|
| {
|
| - FloatQuad layerQuad(FloatRect(0, 0, width, height));
|
| + FloatQuad layerQuad(gfx::RectF(0, 0, width, height));
|
|
|
| // Compute the projection of the layer quad onto the z = 0 plane.
|
|
|
| @@ -158,7 +158,7 @@ LayerShape::LayerShape(float width, float height, const WebTransformationMatrix&
|
| MathUtil::mapClippedQuad(drawTransform, layerQuad, clippedQuad, numVerticesInClippedQuad);
|
|
|
| if (numVerticesInClippedQuad < 3) {
|
| - projectedBounds = FloatRect();
|
| + projectedBounds = gfx::RectF();
|
| return;
|
| }
|
|
|
|
|