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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user