Changeset 122681 in webkit
- Timestamp:
- Jul 15, 2012, 1:15:10 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/Source/WebCore/ChangeLog ¶
r122676 r122681 1 2012-07-15 Dan Bernstein <mitz@apple.com> 2 3 <rdar://problem/11875795> REGRESSION (tiled drawing): Page’s scroll bars flash with each character you type in a textarea (affects Wikipedia and YouTube) 4 https://bugs.webkit.org/show_bug.cgi?id=91348 5 6 Reviewed by Anders Carlsson. 7 8 * platform/ScrollableArea.cpp: 9 (WebCore::ScrollableArea::scrollPositionChanged): Added an early return if the scroll position 10 did not, in fact, change. This avoids the call to ScrollAnimator::notifyContentAreaScrolled, 11 which is what causes the scroll bars to flash. 12 1 13 2012-07-14 Eric Carlson <eric.carlson@apple.com> 2 14 -
TabularUnified trunk/Source/WebCore/platform/ScrollableArea.cpp ¶
r119684 r122681 143 143 void ScrollableArea::scrollPositionChanged(const IntPoint& position) 144 144 { 145 IntPoint oldPosition = scrollPosition(); 145 146 // Tell the derived class to scroll its contents. 146 147 setScrollOffset(position); 148 149 if (scrollPosition() == oldPosition) 150 return; 147 151 148 152 Scrollbar* verticalScrollbar = this->verticalScrollbar();
Note:
See TracChangeset
for help on using the changeset viewer.