40 lines
1.1 KiB
Diff
40 lines
1.1 KiB
Diff
Index: page/FrameView.cpp
|
|
===================================================================
|
|
--- page/FrameView.cpp (revision 151551)
|
|
+++ page/FrameView.cpp (working copy)
|
|
@@ -198,10 +198,12 @@
|
|
if (!page)
|
|
return;
|
|
|
|
+#if 0
|
|
if (m_frame == page->mainFrame()) {
|
|
ScrollableArea::setVerticalScrollElasticity(ScrollElasticityAllowed);
|
|
ScrollableArea::setHorizontalScrollElasticity(ScrollElasticityAllowed);
|
|
}
|
|
+#endif
|
|
}
|
|
|
|
PassRefPtr<FrameView> FrameView::create(Frame* frame)
|
|
Index: platform/mac/NSScrollerImpDetails.mm
|
|
===================================================================
|
|
--- platform/mac/NSScrollerImpDetails.mm (revision 151551)
|
|
+++ platform/mac/NSScrollerImpDetails.mm (working copy)
|
|
@@ -33,6 +33,7 @@
|
|
|
|
bool isScrollbarOverlayAPIAvailable()
|
|
{
|
|
+#if 0
|
|
static bool apiAvailable;
|
|
static bool shouldInitialize = true;
|
|
if (shouldInitialize) {
|
|
@@ -43,6 +44,9 @@
|
|
&& [scrollerImpPairClass instancesRespondToSelector:@selector(scrollerStyle)];
|
|
}
|
|
return apiAvailable;
|
|
+#else
|
|
+ return false;
|
|
+#endif
|
|
}
|
|
|
|
NSScrollerStyle recommendedScrollerStyle() {
|