From 496a0d78cce14cd4a2dfecde0b5c42818433273b Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Thu, 23 Dec 2021 16:27:26 +0000 Subject: [PATCH] Bug 1539884 - Part 36: Mark AppWindow::ExecuteCloseHandler as CAN_RUN_SCRIPT r=masayuki Differential Revision: https://phabricator.services.mozilla.com/D134474 --- xpfe/appshell/AppWindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpfe/appshell/AppWindow.h b/xpfe/appshell/AppWindow.h index 4b26456ce45d..8a9a2492123f 100644 --- a/xpfe/appshell/AppWindow.h +++ b/xpfe/appshell/AppWindow.h @@ -187,7 +187,7 @@ class AppWindow final : public nsIBaseWindow, friend class mozilla::AppWindowTimerCallback; - bool ExecuteCloseHandler(); + MOZ_CAN_RUN_SCRIPT bool ExecuteCloseHandler(); void ConstrainToOpenerScreen(int32_t* aX, int32_t* aY); void SetPersistenceTimer(uint32_t aDirtyFlags);