Commit e72ce2d8 authored by Lucas Furukawa Gadani's avatar Lucas Furukawa Gadani Committed by Commit Bot

Portals: Declare DocumentPortals as GC mixin.

This fixes a GC crash.

Change-Id: Ie5fcfdee033e8f2b45282bfc88d1210bf3a8d861
Reviewed-on: https://chromium-review.googlesource.com/c/1338335Reviewed-by: default avatarJeremy Roman <jbroman@chromium.org>
Commit-Queue: Lucas Gadani <lfg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#608510}
parent e5eb0527
...@@ -15,6 +15,8 @@ class HTMLPortalElement; ...@@ -15,6 +15,8 @@ class HTMLPortalElement;
class DocumentPortals : public GarbageCollected<DocumentPortals>, class DocumentPortals : public GarbageCollected<DocumentPortals>,
public Supplement<Document> { public Supplement<Document> {
USING_GARBAGE_COLLECTED_MIXIN(DocumentPortals);
public: public:
static const char kSupplementName[]; static const char kSupplementName[];
static DocumentPortals& From(Document&); static DocumentPortals& From(Document&);
......
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