Index: services/view_manager/connection_manager.cc |
diff --git a/services/view_manager/connection_manager.cc b/services/view_manager/connection_manager.cc |
index d98b3d27b1031dcf36904e0dbbecc1e86b324a37..dd13cf4c33440836eb8f34287563c25e62268906 100644 |
--- a/services/view_manager/connection_manager.cc |
+++ b/services/view_manager/connection_manager.cc |
@@ -57,7 +57,7 @@ void ReparentClonedViews(ServerView* new_parent, |
const gfx::Rect new_bounds(ConvertRectBetweenViews( |
view, new_parent, gfx::Rect(view->bounds().size()))); |
new_parent->Add(view); |
- new_parent->Reorder(view, *stack_above, mojo::ORDER_DIRECTION_ABOVE); |
+ new_parent->Reorder(view, *stack_above, mojo::OrderDirection::ABOVE); |
view->SetBounds(new_bounds); |
*stack_above = view; |
return; |
@@ -265,7 +265,7 @@ bool ConnectionManager::CloneAndAnimate(const ViewId& view_id) { |
ServerView* clone = CloneView(view, this); |
CloneViewTree(view, clone, this); |
view->parent()->Add(clone); |
- view->parent()->Reorder(clone, view, mojo::ORDER_DIRECTION_ABOVE); |
+ view->parent()->Reorder(clone, view, mojo::OrderDirection::ABOVE); |
return true; |
} |