2012-04-03 03:34:16 +02:00
|
|
|
Index: page/FrameView.cpp
|
|
|
|
===================================================================
|
2013-02-27 18:56:03 +01:00
|
|
|
--- page/FrameView.cpp (revision 143980)
|
2012-04-03 03:34:16 +02:00
|
|
|
+++ page/FrameView.cpp (working copy)
|
2013-02-27 18:56:03 +01:00
|
|
|
@@ -208,10 +208,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-02-27 18:56:03 +01:00
|
|
|
--- platform/mac/NSScrollerImpDetails.mm (revision 143980)
|
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
|
|
|
|