summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-26 17:31:36 +0000
committertony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-26 17:31:36 +0000
commitc42283689c77cf16b1ab2cf3b0d258d90d769c0c (patch)
treed8006ac1c1d25c0b6c1c12d522c2850d1872cf8f
parente7e3803e3935dad91d825df538b3a2de3835d4c6 (diff)
downloadchromium_src-c42283689c77cf16b1ab2cf3b0d258d90d769c0c.zip
chromium_src-c42283689c77cf16b1ab2cf3b0d258d90d769c0c.tar.gz
chromium_src-c42283689c77cf16b1ab2cf3b0d258d90d769c0c.tar.bz2
Remove unused code. Pointed out in code review by prasadt.
Review URL: http://codereview.chromium.org/7514011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94118 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--content/browser/renderer_host/render_widget_host_gtk.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/content/browser/renderer_host/render_widget_host_gtk.cc b/content/browser/renderer_host/render_widget_host_gtk.cc
index c321a15..77877ca 100644
--- a/content/browser/renderer_host/render_widget_host_gtk.cc
+++ b/content/browser/renderer_host/render_widget_host_gtk.cc
@@ -82,11 +82,8 @@ void RenderWidgetHost::OnMsgGetRootWindowRect(gfx::NativeViewId window_id,
GdkWindow* gdk_window = toplevel->window;
if (!gdk_window)
return;
- gdk_window_get_frame_extents(gdk_window, &frame_extents);
- int width = 0;
- int height = 0;
- gdk_drawable_get_size(gdk_window, &width, &height);
+ gdk_window_get_frame_extents(gdk_window, &frame_extents);
*results = gfx::Rect(frame_extents.x, frame_extents.y,
frame_extents.width, frame_extents.height);
}