Changeset 169065 in webkit
- Timestamp:
- May 19, 2014 2:09:01 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r169063 r169065 1 2014-05-19 Beth Dakin <bdakin@apple.com> 2 3 Scrollbars display incorrectly after switching between fast and slow scrolling 4 mode, affects Find and real sites 5 https://bugs.webkit.org/show_bug.cgi?id=133077 6 -and corresponding- 7 <rdar://problem/16888608> 8 9 Reviewed by Tim Horton. 10 11 We should always return true here when updating on the secondary thread is 12 supported. It does not need to be gated on whether we are actively taking 13 advantage of that support at this moment. 14 * platform/Scrollbar.cpp: 15 (WebCore::Scrollbar::supportsUpdateOnSecondaryThread): 16 17 Always update the presentationValue whenever we update the doubleValue just to 18 keep them in sync. 19 * platform/mac/ScrollbarThemeMac.mm: 20 (WebCore::ScrollbarThemeMac::setPaintCharacteristicsForScrollbar): 21 1 22 2014-05-19 Simon Fraser <simon.fraser@apple.com> 2 23 -
trunk/Source/WebCore/platform/Scrollbar.cpp
r165676 r169065 551 551 // the necessary support within AppKit. 552 552 #if ENABLE(ASYNC_SCROLLING) && PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000 553 return m_scrollableArea ? !m_scrollableArea->updatesScrollLayerPositionOnMainThread() : false;553 return true; 554 554 #else 555 555 return false; -
trunk/Source/WebCore/platform/mac/ScrollbarThemeMac.mm
r165918 r169065 480 480 [painter setBoundsSize:scrollbar->frameRect().size()]; 481 481 [painter setDoubleValue:value]; 482 [painter setPresentationValue:value]; 482 483 [painter setKnobProportion:proportion]; 483 484 END_BLOCK_OBJC_EXCEPTIONS;
Note: See TracChangeset
for help on using the changeset viewer.