diff options
author | mad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-27 02:48:36 +0000 |
---|---|---|
committer | mad@chromium.org <mad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-27 02:48:36 +0000 |
commit | 3ef60118b27baa091fb13a08bc2110b0afd8db82 (patch) | |
tree | e8a5b870bdf1d512f89cf59a3daa42bd11fe479c | |
parent | 828e46f09ae8838cfb0fa8a6490532b534a2362a (diff) | |
download | chromium_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.cc | 7 |
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() { |