| Index: cc/trees/layer_tree_impl.cc
|
| diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
|
| index 90efa38e6769fdadbd2d5eb4ec06ad52038f73de..1f909091e1d8caef9ba089c8c59382aa9b6e2f02 100644
|
| --- a/cc/trees/layer_tree_impl.cc
|
| +++ b/cc/trees/layer_tree_impl.cc
|
| @@ -1484,8 +1484,8 @@ static ViewportSelectionBound ComputeViewportSelectionBound(
|
| if (!layer || layer_bound.type == SELECTION_BOUND_EMPTY)
|
| return viewport_bound;
|
|
|
| - gfx::PointF layer_top = layer_bound.edge_top;
|
| - gfx::PointF layer_bottom = layer_bound.edge_bottom;
|
| + auto layer_top = gfx::PointF(layer_bound.edge_top);
|
| + auto layer_bottom = gfx::PointF(layer_bound.edge_bottom);
|
|
|
| bool clipped = false;
|
| gfx::PointF screen_top =
|
|
|