X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fash%2Fwm%2Fwindow_resizer.cc;h=fbdc29c7e69d46e7e87cb81e40c4c9fe4979280d;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=08ff0c42fec07d859f6c2229c055d7ec262ae785;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/ash/wm/window_resizer.cc b/src/ash/wm/window_resizer.cc index 08ff0c4..fbdc29c 100644 --- a/src/ash/wm/window_resizer.cc +++ b/src/ash/wm/window_resizer.cc @@ -20,6 +20,7 @@ #include "ui/compositor/scoped_layer_animation_settings.h" #include "ui/gfx/display.h" #include "ui/gfx/screen.h" +#include "ui/wm/core/coordinate_conversion.h" namespace ash { @@ -204,7 +205,7 @@ gfx::Rect WindowResizer::CalculateBoundsForDrag( // for the current display but the window can move to a different one. aura::Window* parent = GetTarget()->parent(); gfx::Point passed_location_in_screen(passed_location); - wm::ConvertPointToScreen(parent, &passed_location_in_screen); + ::wm::ConvertPointToScreen(parent, &passed_location_in_screen); gfx::Rect near_passed_location(passed_location_in_screen, gfx::Size()); // Use a pointer location (matching the logic in DragWindowResizer) to // calculate the target display after the drag.