| Index: cc/input/layer_selection_bound_unittest.cc
|
| diff --git a/cc/input/layer_selection_bound_unittest.cc b/cc/input/layer_selection_bound_unittest.cc
|
| index e1ad56b53b8de39b2279760fc07e3d13d02779fe..25a9f25808874a91a0febd87eaf45ed1278c6f3a 100644
|
| --- a/cc/input/layer_selection_bound_unittest.cc
|
| +++ b/cc/input/layer_selection_bound_unittest.cc
|
| @@ -30,29 +30,29 @@ void VerifySerializeAndDeserializeLayerSelectionProto(
|
|
|
| TEST(LayerSelectionBoundTest, AllTypePermutations) {
|
| LayerSelectionBound bound;
|
| - bound.type = SelectionBoundType::SELECTION_BOUND_LEFT;
|
| + bound.type = gfx::SelectionBound::LEFT;
|
| bound.edge_top = gfx::Point(3, 14);
|
| bound.edge_bottom = gfx::Point(6, 28);
|
| bound.layer_id = 42;
|
|
|
| VerifySerializeAndDeserializeProto(bound);
|
| - bound.type = SelectionBoundType::SELECTION_BOUND_RIGHT;
|
| + bound.type = gfx::SelectionBound::RIGHT;
|
| VerifySerializeAndDeserializeProto(bound);
|
| - bound.type = SelectionBoundType::SELECTION_BOUND_CENTER;
|
| + bound.type = gfx::SelectionBound::CENTER;
|
| VerifySerializeAndDeserializeProto(bound);
|
| - bound.type = SelectionBoundType::SELECTION_BOUND_EMPTY;
|
| + bound.type = gfx::SelectionBound::EMPTY;
|
| VerifySerializeAndDeserializeProto(bound);
|
| }
|
|
|
| TEST(LayerSelectionTest, AllSelectionPermutations) {
|
| LayerSelectionBound start;
|
| - start.type = SelectionBoundType::SELECTION_BOUND_LEFT;
|
| + start.type = gfx::SelectionBound::LEFT;
|
| start.edge_top = gfx::Point(3, 14);
|
| start.edge_bottom = gfx::Point(6, 28);
|
| start.layer_id = 42;
|
|
|
| LayerSelectionBound end;
|
| - end.type = SelectionBoundType::SELECTION_BOUND_RIGHT;
|
| + end.type = gfx::SelectionBound::RIGHT;
|
| end.edge_top = gfx::Point(14, 3);
|
| end.edge_bottom = gfx::Point(28, 6);
|
| end.layer_id = 24;
|
|
|