summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-22 21:09:30 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-22 21:09:30 +0000
commitf0eb287b82684d0d8a65d2510350474ee78ce69e (patch)
treeb9af233fc4f91e9f3a9f2bb76ec1073c7598b9c8
parent2ed1e53fa7c6054336228a25a56277e7db024daa (diff)
downloadchromium_src-f0eb287b82684d0d8a65d2510350474ee78ce69e.zip
chromium_src-f0eb287b82684d0d8a65d2510350474ee78ce69e.tar.gz
chromium_src-f0eb287b82684d0d8a65d2510350474ee78ce69e.tar.bz2
Fix type. Fixes the gcc4.3 build.
TBR=thestig Review URL: http://codereview.chromium.org/144004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18957 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/gtk/browser_window_gtk.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/gtk/browser_window_gtk.cc b/chrome/browser/gtk/browser_window_gtk.cc
index 7bf9932..352420c 100644
--- a/chrome/browser/gtk/browser_window_gtk.cc
+++ b/chrome/browser/gtk/browser_window_gtk.cc
@@ -1241,7 +1241,7 @@ bool BrowserWindowGtk::GetWindowEdge(int x, int y, GdkWindowEdge* edge) {
// Top edge.
if (x < kResizeAreaCornerSize) {
*edge = GDK_WINDOW_EDGE_NORTH_WEST;
- } else if (x < x < bounds_.width() - kResizeAreaCornerSize) {
+ } else if (x < bounds_.width() - kResizeAreaCornerSize) {
*edge = GDK_WINDOW_EDGE_NORTH;
} else {
*edge = GDK_WINDOW_EDGE_NORTH_EAST;