diff options
Diffstat (limited to 'layout/base/nsCaret.cpp')
-rw-r--r-- | layout/base/nsCaret.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/layout/base/nsCaret.cpp b/layout/base/nsCaret.cpp index 2194a01f31..c79dde1a35 100644 --- a/layout/base/nsCaret.cpp +++ b/layout/base/nsCaret.cpp @@ -832,7 +832,6 @@ size_t nsCaret::SizeOfIncludingThis(mozilla::MallocSizeOf aMallocSizeOf) const bool nsCaret::IsMenuPopupHidingCaret() { -#ifdef MOZ_XUL // Check if there are open popups. nsXULPopupManager *popMgr = nsXULPopupManager::GetInstance(); nsTArray<nsIFrame*> popups; @@ -873,7 +872,6 @@ bool nsCaret::IsMenuPopupHidingCaret() return true; } } -#endif // There are no open menu popups, no need to hide the caret. return false; |