Bug 1931739. Switch RAII classes in layout code from MOZ_STACK_CLASS to MOZ_RAII. r=longsonr

Differential Revision: https://phabricator.services.mozilla.com/D229258
This commit is contained in:
Jonathan Watt
2024-11-17 14:39:22 +00:00
parent 3095067f70
commit e71e134e6a
4 changed files with 4 additions and 4 deletions

View File

@@ -554,7 +554,7 @@ class nsBeforeFirstPaintDispatcher : public Runnable {
// This is a helper class to track whether the targeted frame is destroyed after
// dispatching pointer events. In that case, we need the original targeted
// content so that we can dispatch the mouse events to it.
class MOZ_STACK_CLASS AutoPointerEventTargetUpdater final {
class MOZ_RAII AutoPointerEventTargetUpdater final {
public:
AutoPointerEventTargetUpdater(PresShell* aShell, WidgetEvent* aEvent,
nsIFrame* aFrame, nsIContent* aTargetContent,