commit a38a0dffe2b6d9803d1f8109d46033f608da0113
parent 2e492c742b3e6937cee2ccf66471613023be43be
Author: Kagami Sascha Rosylight <krosylight@proton.me>
Date: Mon, 22 Dec 2025 14:25:16 +0000
Bug 2006049 - Add missing image use counter r=dom-core,smaug
Differential Revision: https://phabricator.services.mozilla.com/D276455
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/dom/notification/Notification.cpp b/dom/notification/Notification.cpp
@@ -365,6 +365,7 @@ already_AddRefed<Notification> Notification::ValidateAndCreate(
MOZ_ASSERT(aGlobal);
SetUseCounterIf(aOptions.mNavigate.WasPassed(), navigate);
+ SetUseCounterIf(aOptions.mImage.WasPassed(), image);
SetUseCounterIf(aOptions.mBadge.WasPassed(), badge);
SetUseCounterIf(aOptions.mVibrate.WasPassed(), vibrate);
SetUseCounterIf(aOptions.mTimestamp.WasPassed(), timestamp);