2012-04-03 03:34:16 +02:00
|
|
|
Index: page/FrameView.cpp
|
|
|
|
===================================================================
|
2013-01-14 20:21:17 +01:00
|
|
|
--- page/FrameView.cpp (revision 137939)
|
2012-04-03 03:34:16 +02:00
|
|
|
+++ page/FrameView.cpp (working copy)
|
2013-01-14 20:21:17 +01:00
|
|
|
@@ -209,10 +209,12 @@
|
2012-11-26 19:20:41 +01:00
|
|
|
if (!page)
|
|
|
|
return;
|
2012-04-03 03:34:16 +02:00
|
|
|
|
|
|
|
+#if 0
|
2012-11-26 19:20:41 +01:00
|
|
|
if (m_frame == page->mainFrame()) {
|
|
|
|
ScrollableArea::setVerticalScrollElasticity(ScrollElasticityAllowed);
|
|
|
|
ScrollableArea::setHorizontalScrollElasticity(ScrollElasticityAllowed);
|
2012-04-03 03:34:16 +02:00
|
|
|
}
|
2012-11-26 19:20:41 +01:00
|
|
|
+#endif
|
2012-04-03 03:34:16 +02:00
|
|
|
}
|
|
|
|
|
2012-11-26 19:20:41 +01:00
|
|
|
PassRefPtr<FrameView> FrameView::create(Frame* frame)
|
|
|
|
Index: platform/mac/NSScrollerImpDetails.mm
|
|
|
|
===================================================================
|
2013-01-14 20:21:17 +01:00
|
|
|
--- platform/mac/NSScrollerImpDetails.mm (revision 137939)
|
2012-11-26 19:20:41 +01:00
|
|
|
+++ platform/mac/NSScrollerImpDetails.mm (working copy)
|
|
|
|
@@ -34,6 +34,7 @@
|
|
|
|
#if PLATFORM(CHROMIUM)
|
2012-04-03 03:34:16 +02:00
|
|
|
bool isScrollbarOverlayAPIAvailable()
|
|
|
|
{
|
|
|
|
+#if 0
|
2012-11-26 19:20:41 +01:00
|
|
|
static bool apiAvailable;
|
|
|
|
static bool shouldInitialize = true;
|
|
|
|
if (shouldInitialize) {
|
|
|
|
@@ -44,6 +45,9 @@
|
|
|
|
&& [scrollerImpPairClass instancesRespondToSelector:@selector(scrollerStyle)];
|
|
|
|
}
|
2012-04-03 03:34:16 +02:00
|
|
|
return apiAvailable;
|
|
|
|
+#else
|
|
|
|
+ return false;
|
|
|
|
+#endif
|
|
|
|
}
|
2012-11-26 19:20:41 +01:00
|
|
|
#endif
|
2012-04-03 03:34:16 +02:00
|
|
|
|