Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1765)

Unified Diff: chrome/browser/automation/automation_provider_gtk.cc

Issue 8625001: GTK: Part 1 of removing GtkWidget->window to close up GSEALs. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Ignore chromeos Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/automation/ui_controls_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/automation_provider_gtk.cc
diff --git a/chrome/browser/automation/automation_provider_gtk.cc b/chrome/browser/automation/automation_provider_gtk.cc
index 0dfec43f7a1041f72a38c4bed5eda1c01064a011..60396a3e8b70b3735c832a42db34b1e7aa299c81 100644
--- a/chrome/browser/automation/automation_provider_gtk.cc
+++ b/chrome/browser/automation/automation_provider_gtk.cc
@@ -48,7 +48,7 @@ void AutomationProvider::WindowSimulateDrag(
browser_tracker_->GetResource(handle)->window()->GetNativeHandle();
if (window && (drag_path.size() > 1)) {
int x, y;
- gdk_window_get_position(GTK_WIDGET(window)->window, &x, &y);
+ gdk_window_get_position(gtk_widget_get_window(GTK_WIDGET(window)), &x, &y);
// Create a nested stack of tasks to run.
base::Closure drag_response_cb = base::Bind(
« no previous file with comments | « no previous file | chrome/browser/automation/ui_controls_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698