Changeset 264016 in webkit
- Timestamp:
- Jul 7, 2020, 6:57:38 AM (6 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
UIProcess/API/gtk/DropTargetGtk3.cpp (modified) (1 diff)
-
UIProcess/API/gtk/DropTargetGtk4.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r264014 r264016 1 2020-07-07 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 REGRESSION(r262680): [GTK] Crash in WebKit::DropTarget::didPerformAction 4 https://bugs.webkit.org/show_bug.cgi?id=213885 5 6 Reviewed by Michael Catanzaro. 7 8 Just compare if new operation is the same as the current one, the == operator of Optional already takes care of 9 values being nullopt. 10 11 * UIProcess/API/gtk/DropTargetGtk3.cpp: 12 (WebKit::DropTarget::didPerformAction): 13 * UIProcess/API/gtk/DropTargetGtk4.cpp: 14 (WebKit::DropTarget::didPerformAction): 15 1 16 2020-07-07 Tomoki Imai <Tomoki.Imai@sony.com> 2 17 -
trunk/Source/WebKit/UIProcess/API/gtk/DropTargetGtk3.cpp
r262680 r264016 218 218 219 219 auto operation = page->currentDragOperation(); 220 if ( (!operation && !m_operation) || *operation == *m_operation)220 if (operation == m_operation) 221 221 return; 222 222 -
trunk/Source/WebKit/UIProcess/API/gtk/DropTargetGtk4.cpp
r262680 r264016 274 274 275 275 auto operation = page->currentDragOperation(); 276 if ( (!operation && !m_operation) ||operation == m_operation)276 if (operation == m_operation) 277 277 return; 278 278
Note:
See TracChangeset
for help on using the changeset viewer.