summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-08 23:52:36 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-08 23:52:36 +0000
commitafaeeb95b07c0e2c4df2b1992069e183c73db822 (patch)
tree2fd3c30288bbc3f45f3be5a3b138f1b1518e2676 /chrome/browser/views
parentc34100d01eddc356741e2618d43b18d533ca9ac4 (diff)
downloadchromium_src-afaeeb95b07c0e2c4df2b1992069e183c73db822.zip
chromium_src-afaeeb95b07c0e2c4df2b1992069e183c73db822.tar.gz
chromium_src-afaeeb95b07c0e2c4df2b1992069e183c73db822.tar.bz2
Revert this, it didn't compile on linux_views (argh)
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34109 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views')
-rw-r--r--chrome/browser/views/frame/browser_view.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/views/frame/browser_view.cc b/chrome/browser/views/frame/browser_view.cc
index 94c805b..9238da7 100644
--- a/chrome/browser/views/frame/browser_view.cc
+++ b/chrome/browser/views/frame/browser_view.cc
@@ -229,8 +229,11 @@ class ResizeCorner : public views::View {
}
static gfx::Size GetSize() {
- return gfx::Size(views::NativeScrollBar::GetVerticalScrollBarWidth(),
- views::NativeScrollBar::GetHorizontalScrollBarHeight());
+ // This is disabled until we find what makes us slower when we let
+ // WebKit know that we have a resizer rect...
+ // return gfx::Size(views::NativeScrollBar::GetVerticalScrollBarWidth(),
+ // views::NativeScrollBar::GetHorizontalScrollBarHeight());
+ return gfx::Size();
}
virtual gfx::Size GetPreferredSize() {