| Index: chrome/browser/automation/testing_automation_provider_gtk.cc
|
| diff --git a/chrome/browser/automation/testing_automation_provider_gtk.cc b/chrome/browser/automation/testing_automation_provider_gtk.cc
|
| index 6263a968222b053f220218367105ff65200d6fe4..3eba5e98528928b43aca1a6399d8b7058a0444f8 100644
|
| --- a/chrome/browser/automation/testing_automation_provider_gtk.cc
|
| +++ b/chrome/browser/automation/testing_automation_provider_gtk.cc
|
| @@ -9,8 +9,8 @@
|
| #include "base/logging.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/automation/automation_window_tracker.h"
|
| -#include "chrome/browser/ui/gtk/gtk_util.h"
|
| #include "chrome/browser/ui/gtk/view_id_util.h"
|
| +#include "ui/base/gtk/gtk_screen_util.h"
|
|
|
| void TestingAutomationProvider::ActivateWindow(int handle) {
|
| NOTIMPLEMENTED();
|
| @@ -49,7 +49,7 @@ void TestingAutomationProvider::WindowGetViewBounds(int handle,
|
| *bounds = gfx::Rect(allocation.width, allocation.height);
|
| gint x, y;
|
| if (screen_coordinates) {
|
| - gfx::Point point = gtk_util::GetWidgetScreenPosition(widget);
|
| + gfx::Point point = ui::GetWidgetScreenPosition(widget);
|
| x = point.x();
|
| y = point.y();
|
| } else {
|
|
|