summaryrefslogtreecommitdiff
path: root/widget
diff options
context:
space:
mode:
authorwicknix <39230578+wicknix@users.noreply.github.com>2018-10-24 01:16:11 -0500
committerGitHub <noreply@github.com>2018-10-24 01:16:11 -0500
commit065f6f9e5ebc1ed6cfaadaf7851b6021fa94a013 (patch)
tree69309400f5557b3a35b86027fa3816e344af7915 /widget
parent6db23ae65e0eda8c95464ff93dfc676a4470c11d (diff)
downloaduxp-065f6f9e5ebc1ed6cfaadaf7851b6021fa94a013.tar.gz
Bug 1489785: Remove a workaround for gcc
Introduced in bug 678607, that is no longer needed that causes hangs in modal dialogs on macOS 10.14 https://hg.mozilla.org/mozilla-central/rev/3920c858319d
Diffstat (limited to 'widget')
-rw-r--r--widget/cocoa/nsChildView.mm1
1 files changed, 0 insertions, 1 deletions
diff --git a/widget/cocoa/nsChildView.mm b/widget/cocoa/nsChildView.mm
index acbf4175db..1a257d899d 100644
--- a/widget/cocoa/nsChildView.mm
+++ b/widget/cocoa/nsChildView.mm
@@ -425,7 +425,6 @@ nsChildView::Create(nsIWidget* aParent,
if (!gChildViewMethodsSwizzled) {
nsToolkit::SwizzleMethods([NSView class], @selector(mouseDownCanMoveWindow),
@selector(nsChildView_NSView_mouseDownCanMoveWindow));
-
gChildViewMethodsSwizzled = true;
}