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

Unified Diff: content/browser/renderer_host/render_widget_host_view_gtk.cc

Issue 8588068: GTK: Create the start of a compatibility header wrapping deprecated methods. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to ToT and remove views/ cleanups. 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
Index: content/browser/renderer_host/render_widget_host_view_gtk.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_gtk.cc b/content/browser/renderer_host/render_widget_host_view_gtk.cc
index 7fa23c7c10a0173bd411253b068daf4e15d6d564..1994e1fa5b620c1c7cd2c5d2a6e67f9229e2cad0 100644
--- a/content/browser/renderer_host/render_widget_host_view_gtk.cc
+++ b/content/browser/renderer_host/render_widget_host_view_gtk.cc
@@ -1383,7 +1383,7 @@ gfx::Point RenderWidgetHostViewGtk::GetWidgetCenter() {
gdk_window_get_origin(window, &window_x, &window_y);
gint window_w = 0;
gint window_h = 0;
- gdk_drawable_get_size(window, &window_w, &window_h);
+ gdk_window_get_size(window, &window_w, &window_h);
widget_center_.SetPoint(window_x + window_w / 2,
window_y + window_h / 2);
« no previous file with comments | « content/browser/renderer_host/gtk_window_utils.cc ('k') | content/browser/tab_contents/web_drag_source_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698