summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-08 23:47:14 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-08 23:47:14 +0000
commitc34100d01eddc356741e2618d43b18d533ca9ac4 (patch)
treec348ecd65588a71ae9196b657c8f0a29b57f8d0a
parent821f30a6306333b76c594ba8cc34d6a24008d62f (diff)
downloadchromium_src-c34100d01eddc356741e2618d43b18d533ca9ac4.zip
chromium_src-c34100d01eddc356741e2618d43b18d533ca9ac4.tar.gz
chromium_src-c34100d01eddc356741e2618d43b18d533ca9ac4.tar.bz2
Try re-enabling the resize corner on Windows to see if it still causes perf regressions.
BUG=458 TEST=The bottom right corner of the window whould have a resize corner. Review URL: http://codereview.chromium.org/465133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34108 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/views/frame/browser_view.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/browser/views/frame/browser_view.cc b/chrome/browser/views/frame/browser_view.cc
index 9238da7..94c805b 100644
--- a/chrome/browser/views/frame/browser_view.cc
+++ b/chrome/browser/views/frame/browser_view.cc
@@ -229,11 +229,8 @@ class ResizeCorner : public views::View {
}
static gfx::Size GetSize() {
- // 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();
+ return gfx::Size(views::NativeScrollBar::GetVerticalScrollBarWidth(),
+ views::NativeScrollBar::GetHorizontalScrollBarHeight());
}
virtual gfx::Size GetPreferredSize() {