-
Masayuki Nakano authored
It calls `Document::FlushPendingNotification()` so that we should mark it as `MOZ_CAN_RUN_SCRIPT`. And the method calls it of `mDocument` and `mDocument` is never modified after it's initialized. Therefore, we can move the initializer to the constructor and make `RefPtr<Document>` to `RefPtr<Document> const`. Thus, we can avoid unnecessary auto `RefPtr`. Differential Revision: https://phabricator.services.mozilla.com/D55803 --HG-- extra : moz-landing-system : lando
d586d5dc