diff options
Diffstat (limited to 'chrome/browser/automation/automation_provider_gtk.cc')
-rw-r--r-- | chrome/browser/automation/automation_provider_gtk.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/automation/automation_provider_gtk.cc b/chrome/browser/automation/automation_provider_gtk.cc index a0fe498..8e12c89 100644 --- a/chrome/browser/automation/automation_provider_gtk.cc +++ b/chrome/browser/automation/automation_provider_gtk.cc @@ -53,8 +53,7 @@ void AutomationProvider::WindowGetViewBounds(int handle, int view_id, if (!widget) return; *success = true; - *bounds = gfx::Rect(0, 0, - widget->allocation.width, widget->allocation.height); + *bounds = gfx::Rect(widget->allocation.width, widget->allocation.height); gint x, y; if (screen_coordinates) { gfx::Point point = gtk_util::GetWidgetScreenPosition(widget); |