| Index: components/mus/ws/test_change_tracker.cc
|
| diff --git a/components/mus/ws/test_change_tracker.cc b/components/mus/ws/test_change_tracker.cc
|
| index a08f923de65a8620157e8c74403bdf90570f96d5..2ea6796428be2ce02612d45bec0b82b15a08fb57 100644
|
| --- a/components/mus/ws/test_change_tracker.cc
|
| +++ b/components/mus/ws/test_change_tracker.cc
|
| @@ -31,7 +31,7 @@ std::string RectToString(const mojo::Rect& rect) {
|
| }
|
|
|
| std::string DirectionToString(mojom::OrderDirection direction) {
|
| - return direction == mojom::ORDER_DIRECTION_ABOVE ? "above" : "below";
|
| + return direction == mojom::OrderDirection::ABOVE ? "above" : "below";
|
| }
|
|
|
| std::string ChangeToDescription1(const Change& change) {
|
| @@ -187,7 +187,7 @@ Change::Change()
|
| window_id2(0),
|
| window_id3(0),
|
| event_action(0),
|
| - direction(mojom::ORDER_DIRECTION_ABOVE),
|
| + direction(mojom::OrderDirection::ABOVE),
|
| bool_value(false),
|
| change_id(0u) {}
|
|
|
| @@ -317,7 +317,7 @@ void TestChangeTracker::OnWindowInputEvent(Id window_id,
|
| Change change;
|
| change.type = CHANGE_TYPE_INPUT_EVENT;
|
| change.window_id = window_id;
|
| - change.event_action = event->action;
|
| + change.event_action = static_cast<int32_t>(event->action);
|
| AddChange(change);
|
| }
|
|
|
| @@ -348,7 +348,7 @@ void TestChangeTracker::OnWindowPredefinedCursorChanged(
|
| Change change;
|
| change.type = CHANGE_TYPE_CURSOR_CHANGED;
|
| change.window_id = window_id;
|
| - change.cursor_id = cursor_id;
|
| + change.cursor_id = static_cast<int32_t>(cursor_id);
|
| AddChange(change);
|
| }
|
|
|
|
|