summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/resources/quota_internals/message_dispatcher.js
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/resources/quota_internals/message_dispatcher.js')
-rw-r--r--chromium/chrome/browser/resources/quota_internals/message_dispatcher.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/chrome/browser/resources/quota_internals/message_dispatcher.js b/chromium/chrome/browser/resources/quota_internals/message_dispatcher.js
index b1024b6ba38..a387094e4b9 100644
--- a/chromium/chrome/browser/resources/quota_internals/message_dispatcher.js
+++ b/chromium/chrome/browser/resources/quota_internals/message_dispatcher.js
@@ -63,7 +63,7 @@ cr.define('cr.quota', function() {
break;
}
if (target) {
- const event = cr.doc.createEvent('CustomEvent');
+ const event = document.createEvent('CustomEvent');
event.initCustomEvent('update', false, false, detail);
target.dispatchEvent(event);
}