Changeset 271235 in webkit
- Timestamp:
- Jan 7, 2021, 7:58:37 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/platform/gtk/fast/scrolling/overflow-scrollable-after-back-expected.txt (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/page/EventHandler.cpp (modified) (1 diff)
-
Source/WebKit/ChangeLog (modified) (1 diff)
-
Source/WebKit/WebProcess/WebPage/EventDispatcher.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r271223 r271235 1 2021-01-07 Lauro Moura <lmoura@igalia.com> 2 3 REGRESSION(r270425) [GTK] wheel scrolling stopped working 4 https://bugs.webkit.org/show_bug.cgi?id=219547 5 6 Reviewed by Carlos Garcia Campos. 7 8 * platform/gtk/fast/scrolling/overflow-scrollable-after-back-expected.txt: 9 Rebaseline with the extra scroll events arriving 10 1 11 2021-01-06 Rob Buis <rbuis@igalia.com> 2 12 -
trunk/LayoutTests/platform/gtk/fast/scrolling/overflow-scrollable-after-back-expected.txt
r217674 r271235 2 2 PASS: mouseWheel caused scrolling 3 3 PASS: mouseWheel caused scrolling 4 PASS: mouseWheel caused scrolling 5 6 Navigating forward then back 7 4 8 5 9 Navigating forward then back -
trunk/Source/WebCore/ChangeLog
r271232 r271235 1 2021-01-07 Lauro Moura <lmoura@igalia.com> 2 3 REGRESSION(r270425) [GTK] wheel scrolling stopped working 4 https://bugs.webkit.org/show_bug.cgi?id=219547 5 6 Reviewed by Carlos Garcia Campos. 7 8 Return early if the frame was already deleted. 9 10 Needed for fast/events/wheel-event-destroys-frame.html 11 12 * page/EventHandler.cpp: 13 (WebCore::EventHandler::wheelEventWasProcessedByMainThread): 14 1 15 2021-01-07 Carlos Garcia Campos <cgarcia@igalia.com> 2 16 -
trunk/Source/WebCore/page/EventHandler.cpp
r270712 r271235 2737 2737 2738 2738 #if ENABLE(ASYNC_SCROLLING) 2739 2740 if (!m_frame.page()) 2741 return; 2742 2739 2743 FrameView* view = m_frame.view(); 2740 2744 if (auto scrollingCoordinator = m_frame.page()->scrollingCoordinator()) { -
trunk/Source/WebKit/ChangeLog
r271231 r271235 1 2021-01-07 Lauro Moura <lmoura@igalia.com> 2 3 REGRESSION(r270425) [GTK] wheel scrolling stopped working 4 https://bugs.webkit.org/show_bug.cgi?id=219547 5 6 Reviewed by Carlos Garcia Campos. 7 8 In GTK we may have the case where the async scrolling is disabled at 9 runtime despite being compiled with ASYNC_SCROLLING/SCROLLING_THREAD. 10 In these cases, the wheel events still need to be dispatched through 11 the main thread. 12 13 * WebProcess/WebPage/EventDispatcher.cpp: 14 (WebKit::EventDispatcher::wheelEvent): 15 1 16 2021-01-07 Carlos Garcia Campos <cgarcia@igalia.com> 2 17 -
trunk/Source/WebKit/WebProcess/WebPage/EventDispatcher.cpp
r270425 r271235 163 163 return processingSteps; 164 164 }(); 165 166 auto scrollingTree = m_scrollingTrees.get(pageID); 167 if (!scrollingTree) 168 dispatchWheelEventViaMainThread(pageID, wheelEvent, processingSteps); 165 169 #else 166 170 UNUSED_PARAM(canRubberBandAtLeft);
Note:
See TracChangeset
for help on using the changeset viewer.