Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bdd2db95c62291ce96f30b3ceb798403da21a53c
https://github.com/WebKit/WebKit/commit/bdd2db95c62291ce96f30b3ceb798403da21a53c
Author: Anne van Kesteren <[email protected]>
Date: 2024-01-31 (Wed, 31 Jan 2024)
Changed paths:
M Source/WebCore/page/DragController.cpp
M Source/WebCore/page/DragController.h
Log Message:
-----------
Adopt dynamicDowncast<> in DragController
https://bugs.webkit.org/show_bug.cgi?id=268371
Reviewed by Chris Dumez.
Also add some RefPtr.
* Source/WebCore/page/DragController.cpp:
(WebCore::elementUnderMouse):
(WebCore::DragController::tryDocumentDrag):
(WebCore::DragController::concludeEditDrag):
(WebCore::imageElementIsDraggable):
(WebCore::enclosingAttachmentElement):
(WebCore::DragController::draggableElement const):
(WebCore::getCachedImage):
(WebCore::DragController::startDrag):
(WebCore::DragController::insertDroppedImagePlaceholdersAtCaret):
* Source/WebCore/page/DragController.h:
(WebCore::DragController::protectedDocumentUnderMouse const):
Canonical link: https://commits.webkit.org/273832@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes