Commit 5bf31346 authored by Fergal Daly's avatar Fergal Daly Committed by Commit Bot

Fix GC issue with Element::part.

ElementRareDate::TraceAfterDispatch did not trace the part_ field. The fix is to
make it trace it.

Bug: 909609
Change-Id: I8fd00e7613af69272ff12298b0ea33d6494f80e5
Reviewed-on: https://chromium-review.googlesource.com/c/1354740Reviewed-by: default avatarHayato Ito <hayato@chromium.org>
Commit-Queue: Fergal Daly <fergal@chromium.org>
Cr-Commit-Position: refs/heads/master@{#612050}
parent 6caaa909
...@@ -108,6 +108,7 @@ ElementInternals& ElementRareData::EnsureElementInternals(HTMLElement& target) { ...@@ -108,6 +108,7 @@ ElementInternals& ElementRareData::EnsureElementInternals(HTMLElement& target) {
void ElementRareData::TraceAfterDispatch(blink::Visitor* visitor) { void ElementRareData::TraceAfterDispatch(blink::Visitor* visitor) {
visitor->Trace(dataset_); visitor->Trace(dataset_);
visitor->Trace(class_list_); visitor->Trace(class_list_);
visitor->Trace(part_);
visitor->Trace(shadow_root_); visitor->Trace(shadow_root_);
visitor->Trace(attribute_map_); visitor->Trace(attribute_map_);
visitor->Trace(attr_node_list_); visitor->Trace(attr_node_list_);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment