diff --git core/frame/FrameView.cpp core/frame/FrameView.cpp index 5d42bda..70e70a6 100644 --- core/frame/FrameView.cpp +++ core/frame/FrameView.cpp @@ -126,8 +126,10 @@ FrameView::FrameView(LocalFrame* frame) if (!m_frame->isMainFrame()) return; +#if 0 ScrollableArea::setVerticalScrollElasticity(ScrollElasticityAllowed); ScrollableArea::setHorizontalScrollElasticity(ScrollElasticityAllowed); +#endif } PassRefPtr FrameView::create(LocalFrame* frame) diff --git platform/scroll/ScrollbarThemeMacCommon.mm platform/scroll/ScrollbarThemeMacCommon.mm index 309e1e3..b40a19a 100644 --- platform/scroll/ScrollbarThemeMacCommon.mm +++ platform/scroll/ScrollbarThemeMacCommon.mm @@ -355,10 +355,14 @@ NSScrollerStyle ScrollbarThemeMacCommon::recommendedScrollerStyle() // 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 blink