Changeset 182673 in webkit
- Timestamp:
- Apr 12, 2015, 1:28:44 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
platform/Scrollbar.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r182672 r182673 1 2015-04-12 Simon Fraser <simon.fraser@apple.com> 2 3 Scrollbars in composited overflow and iframes fail to render on Mac 4 https://bugs.webkit.org/show_bug.cgi?id=143647 5 rdar://problem/20340544 6 7 Reviewed by Darin Adler. 8 9 When adding support for drawing scrollbars on the scrolling thread, we inadvertently 10 disabled scrollbar drawing in other composited, main-thread scrolling configurations. 11 12 Fix by having Scrollbar::supportsUpdateOnSecondaryThread() only return true if 13 the scrollable area is using async scrolling. 14 15 Sadly, we can't layout-test this. 16 17 * platform/Scrollbar.cpp: 18 (WebCore::Scrollbar::supportsUpdateOnSecondaryThread): 19 1 20 2015-04-12 Simon Fraser <simon.fraser@apple.com> 2 21 -
trunk/Source/WebCore/platform/Scrollbar.cpp
r180548 r182673 531 531 #if ENABLE(ASYNC_SCROLLING) && PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000 532 532 return !m_scrollableArea.forceUpdateScrollbarsOnMainThreadForPerformanceTesting() 533 && (m_scrollableArea.hasLayerForVerticalScrollbar() || m_scrollableArea.hasLayerForHorizontalScrollbar()); 533 && (m_scrollableArea.hasLayerForVerticalScrollbar() || m_scrollableArea.hasLayerForHorizontalScrollbar()) 534 && m_scrollableArea.usesAsyncScrolling(); 534 535 #else 535 536 return false;
Note:
See TracChangeset
for help on using the changeset viewer.