summaryrefslogtreecommitdiffstats
path: root/layout/generic/nsFrameSelection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/nsFrameSelection.cpp')
-rw-r--r--layout/generic/nsFrameSelection.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/layout/generic/nsFrameSelection.cpp b/layout/generic/nsFrameSelection.cpp
index ca4e3d647e..94cf368480 100644
--- a/layout/generic/nsFrameSelection.cpp
+++ b/layout/generic/nsFrameSelection.cpp
@@ -1441,11 +1441,6 @@ nsresult nsFrameSelection::TakeFocus(nsIContent& aNewFocus,
}
}
- // Don't notify selection listeners if batching is on:
- if (IsBatching()) {
- return NS_OK;
- }
-
// Be aware, the Selection instance may be destroyed after this call.
return NotifySelectionListeners(SelectionType::eNormal);
}