| Index: ash/wm/coordinate_conversion.cc
|
| diff --git a/ash/wm/coordinate_conversion.cc b/ash/wm/coordinate_conversion.cc
|
| index 49bad5aa4f2a9825ba0e66d95632e12d0961e185..dde314f09fc4a3ad35a9fa2dae876fcaf7e6603b 100644
|
| --- a/ash/wm/coordinate_conversion.cc
|
| +++ b/ash/wm/coordinate_conversion.cc
|
| @@ -31,7 +31,7 @@ aura::Window* GetRootWindowMatching(const gfx::Rect& rect) {
|
| GetRootWindowForDisplayId(display.id());
|
| }
|
|
|
| -void ConvertPointToScreen(aura::Window* window, gfx::Point* point) {
|
| +void ConvertPointToScreen(const aura::Window* window, gfx::Point* point) {
|
| CHECK(window);
|
| CHECK(window->GetRootWindow());
|
| CHECK(aura::client::GetScreenPositionClient(window->GetRootWindow()));
|
| @@ -39,7 +39,7 @@ void ConvertPointToScreen(aura::Window* window, gfx::Point* point) {
|
| ConvertPointToScreen(window, point);
|
| }
|
|
|
| -void ConvertPointFromScreen(aura::Window* window,
|
| +void ConvertPointFromScreen(const aura::Window* window,
|
| gfx::Point* point_in_screen) {
|
| aura::client::GetScreenPositionClient(window->GetRootWindow())->
|
| ConvertPointFromScreen(window, point_in_screen);
|
|
|