summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/dom/mutation_observer_interest_group.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/dom/mutation_observer_interest_group.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/dom/mutation_observer_interest_group.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/core/dom/mutation_observer_interest_group.cc b/chromium/third_party/blink/renderer/core/dom/mutation_observer_interest_group.cc
index 49d85ba1c20..e6c553ecf22 100644
--- a/chromium/third_party/blink/renderer/core/dom/mutation_observer_interest_group.cc
+++ b/chromium/third_party/blink/renderer/core/dom/mutation_observer_interest_group.cc
@@ -47,7 +47,8 @@ MutationObserverInterestGroup* MutationObserverInterestGroup::CreateIfNeeded(
if (observers.IsEmpty())
return nullptr;
- return new MutationObserverInterestGroup(observers, old_value_flag);
+ return MakeGarbageCollected<MutationObserverInterestGroup>(observers,
+ old_value_flag);
}
MutationObserverInterestGroup::MutationObserverInterestGroup(