summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-27 02:48:36 +0000
committermad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-27 02:48:36 +0000
commit3ef60118b27baa091fb13a08bc2110b0afd8db82 (patch)
treee8a5b870bdf1d512f89cf59a3daa42bd11fe479c
parent828e46f09ae8838cfb0fa8a6490532b534a2362a (diff)
downloadchromium_src-3ef60118b27baa091fb13a08bc2110b0afd8db82.zip
chromium_src-3ef60118b27baa091fb13a08bc2110b0afd8db82.tar.gz
chromium_src-3ef60118b27baa091fb13a08bc2110b0afd8db82.tar.bz2
Completely disable the resize corner until we find a solution for the performance drop...
But only for Windows so the guys on the Mac can still play with it... Review URL: http://codereview.chromium.org/28198 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10575 0039d316-1c4b-4281-b951-d872f2087c98
-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 960aef1..785229d 100644
--- a/chrome/browser/views/frame/browser_view.cc
+++ b/chrome/browser/views/frame/browser_view.cc
@@ -151,8 +151,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() {