35 lines
1.2 KiB
Diff
35 lines
1.2 KiB
Diff
Index: core/frame/FrameView.cpp
|
|
===================================================================
|
|
--- core/frame/FrameView.cpp (revision 177271)
|
|
+++ core/frame/FrameView.cpp (working copy)
|
|
@@ -139,8 +139,10 @@
|
|
if (!m_frame->isMainFrame())
|
|
return;
|
|
|
|
+#if 0
|
|
ScrollableArea::setVerticalScrollElasticity(ScrollElasticityAllowed);
|
|
ScrollableArea::setHorizontalScrollElasticity(ScrollElasticityAllowed);
|
|
+#endif
|
|
}
|
|
|
|
PassRefPtr<FrameView> FrameView::create(LocalFrame* frame)
|
|
Index: platform/scroll/ScrollbarThemeMacCommon.mm
|
|
===================================================================
|
|
--- platform/scroll/ScrollbarThemeMacCommon.mm (revision 177271)
|
|
+++ platform/scroll/ScrollbarThemeMacCommon.mm (working copy)
|
|
@@ -355,10 +355,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
|