Changeset 172842 in webkit
- Timestamp:
- Aug 21, 2014 6:28:52 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r172841 r172842 1 2014-08-21 Ryuan Choi <ryuan.choi@samsung.com> 2 3 Unreviewed build fix when RUBBER_BANDING is not enabled. 4 5 * rendering/RenderLayer.cpp: 6 (WebCore::RenderLayer::overhangAmount): 7 (WebCore::RenderLayer::setHasHorizontalScrollbar): 8 (WebCore::RenderLayer::setHasVerticalScrollbar): 9 1 10 2014-08-21 Brent Fulgham <bfulgham@apple.com> 2 11 -
trunk/Source/WebCore/rendering/RenderLayer.cpp
r172832 r172842 2650 2650 IntSize RenderLayer::overhangAmount() const 2651 2651 { 2652 #if ENABLE(RUBBER_BANDING) 2652 2653 if (!renderer().frame().settings().rubberBandingForOverflowScrollEnabled()) 2653 2654 return IntSize(); … … 2668 2669 2669 2670 return stretch; 2671 #else 2672 return IntSize(); 2673 #endif 2670 2674 } 2671 2675 … … 3001 3005 if (hasScrollbar) { 3002 3006 m_hBar = createScrollbar(HorizontalScrollbar); 3007 #if ENABLE(RUBBER_BANDING) 3003 3008 ScrollableArea::setHorizontalScrollElasticity(renderer().frame().settings().rubberBandingForOverflowScrollEnabled() ? ScrollElasticityAutomatic : ScrollElasticityNone); 3009 #endif 3004 3010 } else { 3005 3011 destroyScrollbar(HorizontalScrollbar); 3012 #if ENABLE(RUBBER_BANDING) 3006 3013 ScrollableArea::setHorizontalScrollElasticity(ScrollElasticityNone); 3014 #endif 3007 3015 } 3008 3016 … … 3027 3035 if (hasScrollbar) { 3028 3036 m_vBar = createScrollbar(VerticalScrollbar); 3037 #if ENABLE(RUBBER_BANDING) 3029 3038 ScrollableArea::setVerticalScrollElasticity((renderer().frame().settings().rubberBandingForOverflowScrollEnabled() ? ScrollElasticityAutomatic : ScrollElasticityNone)); 3039 #endif 3030 3040 } else { 3031 3041 destroyScrollbar(VerticalScrollbar); 3042 #if ENABLE(RUBBER_BANDING) 3032 3043 ScrollableArea::setVerticalScrollElasticity(ScrollElasticityNone); 3044 #endif 3033 3045 } 3034 3046
Note: See TracChangeset
for help on using the changeset viewer.