2014-04-11 21:13:32 +00:00
|
|
|
Index: core/frame/FrameView.cpp
|
|
|
|
===================================================================
|
2014-04-30 19:10:48 +00:00
|
|
|
--- core/frame/FrameView.cpp (revision 172878)
|
2014-04-11 21:13:32 +00:00
|
|
|
+++ core/frame/FrameView.cpp (working copy)
|
|
|
|
@@ -165,8 +165,10 @@
|
|
|
|
if (!isMainFrame())
|
|
|
|
return;
|
|
|
|
|
|
|
|
+#if 0
|
|
|
|
ScrollableArea::setVerticalScrollElasticity(ScrollElasticityAllowed);
|
|
|
|
ScrollableArea::setHorizontalScrollElasticity(ScrollElasticityAllowed);
|
|
|
|
+#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
PassRefPtr<FrameView> FrameView::create(LocalFrame* frame)
|
|
|
|
Index: platform/scroll/ScrollbarThemeMacCommon.mm
|
|
|
|
===================================================================
|
2014-04-30 19:10:48 +00:00
|
|
|
--- platform/scroll/ScrollbarThemeMacCommon.mm (revision 172878)
|
2014-04-11 21:13:32 +00:00
|
|
|
+++ platform/scroll/ScrollbarThemeMacCommon.mm (working copy)
|
|
|
|
@@ -358,10 +358,14 @@
|
|
|
|
// static
|
|
|
|
bool ScrollbarThemeMacCommon::isOverlayAPIAvailable()
|
|
|
|
{
|
|
|
|
+#if 0
|
|
|
|
static bool apiAvailable =
|
|
|
|
[NSClassFromString(@"NSScrollerImp") respondsToSelector:@selector(scrollerImpWithStyle:controlSize:horizontal:replacingScrollerImp:)]
|
|
|
|
&& [NSClassFromString(@"NSScrollerImpPair") instancesRespondToSelector:@selector(scrollerStyle)];
|
|
|
|
return apiAvailable;
|
|
|
|
+#else
|
|
|
|
+ return false;
|
|
|
|
+#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace WebCore
|