Index: mash/wm/window_manager.cc |
diff --git a/mash/wm/window_manager.cc b/mash/wm/window_manager.cc |
index 5c5be91ce84a1b5c9ce29d81670bbded62f26f23..24f5416e3770be33a7a8f44c8a7964c512c5ba99 100644 |
--- a/mash/wm/window_manager.cc |
+++ b/mash/wm/window_manager.cc |
@@ -22,7 +22,6 @@ |
#include "mash/wm/property_util.h" |
#include "mash/wm/public/interfaces/container.mojom.h" |
#include "mash/wm/root_window_controller.h" |
-#include "ui/gfx/geometry/mojo/geometry_type_converters.h" |
namespace mash { |
namespace wm { |
@@ -65,10 +64,8 @@ void WindowManager::Initialize(RootWindowController* root_controller, |
mus::mojom::FrameDecorationValues::New(); |
const gfx::Insets client_area_insets = |
NonClientFrameController::GetPreferredClientAreaInsets(); |
- frame_decoration_values->normal_client_area_insets = |
- mojo::Insets::From(client_area_insets); |
- frame_decoration_values->maximized_client_area_insets = |
- mojo::Insets::From(client_area_insets); |
+ frame_decoration_values->normal_client_area_insets = client_area_insets; |
+ frame_decoration_values->maximized_client_area_insets = client_area_insets; |
frame_decoration_values->max_title_bar_button_width = |
NonClientFrameController::GetMaxTitleBarButtonWidth(); |
window_manager_client_->SetFrameDecorationValues( |