Changeset 145041 in webkit
- Timestamp:
- Mar 6, 2013 10:47:21 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r145040 r145041 1 2013-03-06 Paweł Forysiuk <tuxator@o2.pl> 2 3 WebKit does not build without accelerated compositing after Changeset 144823 4 https://bugs.webkit.org/show_bug.cgi?id=111597 5 6 Reviewed by Kentaro Hara. 7 8 Properly guard functions ifdefed in ScrollingCoordinator.h. 9 Remove redundant checks and fallback code inside those functions. 10 11 * page/scrolling/ScrollingCoordinator.cpp: 12 (WebCore::ScrollingCoordinator::scrollLayerForScrollableArea): 13 (WebCore::ScrollingCoordinator::horizontalScrollbarLayerForScrollableArea): 14 (WebCore::ScrollingCoordinator::verticalScrollbarLayerForScrollableArea): 15 (WebCore): 16 1 17 2013-03-06 Hajime Morrita <morrita@google.com> 2 18 -
trunk/Source/WebCore/page/scrolling/ScrollingCoordinator.cpp
r144823 r145041 276 276 GraphicsLayer* ScrollingCoordinator::scrollLayerForScrollableArea(ScrollableArea* scrollableArea) 277 277 { 278 #if USE(ACCELERATED_COMPOSITING)279 278 return scrollableArea->layerForScrolling(); 280 #else281 UNUSED_PARAM(scrollableArea);282 return 0;283 #endif284 279 } 285 280 286 281 GraphicsLayer* ScrollingCoordinator::horizontalScrollbarLayerForScrollableArea(ScrollableArea* scrollableArea) 287 282 { 288 #if USE(ACCELERATED_COMPOSITING)289 283 return scrollableArea->layerForHorizontalScrollbar(); 290 #else 291 UNUSED_PARAM(scrollableArea); 292 return 0; 293 #endif 294 } 295 #endif 284 } 296 285 297 286 GraphicsLayer* ScrollingCoordinator::verticalScrollbarLayerForScrollableArea(ScrollableArea* scrollableArea) 298 287 { 299 #if USE(ACCELERATED_COMPOSITING)300 288 return scrollableArea->layerForVerticalScrollbar(); 301 #else 302 UNUSED_PARAM(scrollableArea); 303 return 0; 304 #endif 305 } 289 } 290 #endif 306 291 307 292 GraphicsLayer* ScrollingCoordinator::scrollLayerForFrameView(FrameView* frameView)
Note: See TracChangeset
for help on using the changeset viewer.