summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/render_widget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/render_widget.cc')
-rw-r--r--chrome/renderer/render_widget.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/renderer/render_widget.cc b/chrome/renderer/render_widget.cc
index 7d23d36..04f16f1 100644
--- a/chrome/renderer/render_widget.cc
+++ b/chrome/renderer/render_widget.cc
@@ -703,7 +703,12 @@ void RenderWidget::GetRootWindowResizerRect(WebWidget* webwidget,
// This is disabled to verify if WebKit is responsible for the slow down
// that was witnessed in the page cycler tests when the resize corner
// code was commited...
+#if defined(OS_MACOSX)
+ // ...we need it enabled on Mac so scrollbars are usable.
+ *rect = resizer_rect_;
+#elif defined(OS_WIN) || defined(OS_LINUX)
*rect = gfx::Rect(); // resizer_rect_;
+#endif
}
void RenderWidget::OnImeSetInputMode(bool is_active) {