2013-12-17 23:04:35 +01:00
|
|
|
Index: core/frame/FrameView.cpp
|
2012-04-03 03:34:16 +02:00
|
|
|
===================================================================
|
2014-02-19 17:27:54 +01:00
|
|
|
--- core/frame/FrameView.cpp (revision 167304)
|
2013-12-17 23:04:35 +01:00
|
|
|
+++ core/frame/FrameView.cpp (working copy)
|
2014-02-19 17:27:54 +01:00
|
|
|
@@ -141,8 +141,10 @@
|
2013-10-16 02:25:38 +02:00
|
|
|
if (!isMainFrame())
|
2012-11-26 19:20:41 +01:00
|
|
|
return;
|
2012-04-03 03:34:16 +02:00
|
|
|
|
|
|
|
+#if 0
|
2013-10-16 02:25:38 +02:00
|
|
|
ScrollableArea::setVerticalScrollElasticity(ScrollElasticityAllowed);
|
|
|
|
ScrollableArea::setHorizontalScrollElasticity(ScrollElasticityAllowed);
|
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)
|
2014-02-05 21:35:45 +01:00
|
|
|
Index: platform/scroll/ScrollbarThemeMacCommon.mm
|
2012-11-26 19:20:41 +01:00
|
|
|
===================================================================
|
2014-02-19 17:27:54 +01:00
|
|
|
--- platform/scroll/ScrollbarThemeMacCommon.mm (revision 167304)
|
2014-02-05 21:35:45 +01:00
|
|
|
+++ platform/scroll/ScrollbarThemeMacCommon.mm (working copy)
|
|
|
|
@@ -369,10 +369,14 @@
|
|
|
|
// static
|
|
|
|
bool ScrollbarThemeMacCommon::isOverlayAPIAvailable()
|
2012-04-03 03:34:16 +02:00
|
|
|
{
|
|
|
|
+#if 0
|
2013-10-29 18:53:18 +01:00
|
|
|
static bool apiAvailable =
|
|
|
|
[NSClassFromString(@"NSScrollerImp") respondsToSelector:@selector(scrollerImpWithStyle:controlSize:horizontal:replacingScrollerImp:)]
|
|
|
|
&& [NSClassFromString(@"NSScrollerImpPair") instancesRespondToSelector:@selector(scrollerStyle)];
|
2012-04-03 03:34:16 +02:00
|
|
|
return apiAvailable;
|
|
|
|
+#else
|
|
|
|
+ return false;
|
|
|
|
+#endif
|
|
|
|
}
|
|
|
|
|
2014-02-05 21:35:45 +01:00
|
|
|
} // namespace WebCore
|