Index: Source/core/editing/FrameSelection.cpp |
diff --git a/Source/core/editing/FrameSelection.cpp b/Source/core/editing/FrameSelection.cpp |
index e071499dee5a5b36ce092d7a460ec169d4a860df..969308a48948c4f1c0b89325b2afe979700cab12 100644 |
--- a/Source/core/editing/FrameSelection.cpp |
+++ b/Source/core/editing/FrameSelection.cpp |
@@ -298,7 +298,7 @@ void FrameSelection::setSelection(const VisibleSelection& newSelection, SetSelec |
notifyAccessibilityForSelectionChange(); |
notifyCompositorForSelectionChange(); |
notifyEventHandlerForSelectionChange(); |
- m_frame->domWindow()->enqueueDocumentEvent(Event::create(EventTypeNames::selectionchange)); |
+ m_frame->localDOMWindow()->enqueueDocumentEvent(Event::create(EventTypeNames::selectionchange)); |
} |
static bool removingNodeRemovesPosition(Node& node, const Position& position) |