summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/frame
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-11 11:43:31 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-11 11:43:31 +0000
commit0a6fc039802f84e286934bf8069f3cbf35311e14 (patch)
tree69b05c6c0e9810f7548f8c53dfe6a185354c1021 /chrome/browser/views/frame
parent125bcccbad102e2c1e2663b3da293e925d09fb46 (diff)
downloadchromium_src-0a6fc039802f84e286934bf8069f3cbf35311e14.zip
chromium_src-0a6fc039802f84e286934bf8069f3cbf35311e14.tar.gz
chromium_src-0a6fc039802f84e286934bf8069f3cbf35311e14.tar.bz2
Revert mad's backing store changes, it completely hosed Linux painting.
This was r18090, reverted in r18092, recommitted without review in 18130. Review URL: http://codereview.chromium.org/122034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18158 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/frame')
-rw-r--r--chrome/browser/views/frame/browser_view.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/browser/views/frame/browser_view.cc b/chrome/browser/views/frame/browser_view.cc
index 16e2e98..1b1f6f9 100644
--- a/chrome/browser/views/frame/browser_view.cc
+++ b/chrome/browser/views/frame/browser_view.cc
@@ -134,8 +134,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() {
@@ -1334,8 +1337,7 @@ void BrowserView::Init() {
#if defined(OS_WIN)
SetProp(GetWidget()->GetNativeView(), kBrowserViewKey, this);
#else
- g_object_set_data(G_OBJECT(GetWidget()->GetNativeView()), kBrowserViewKey,
- this);
+ g_object_set_data(G_OBJECT(GetWidget()->GetNativeView()), kBrowserViewKey, this);
#endif
// Start a hung plugin window detector for this browser object (as long as