Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(860)

Unified Diff: Source/core/html/HTMLTemplateElement.h

Issue 289273002: Oilpan: make DocumentFragment a heap allocated object. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tweaks to avoid conflicts with ongoing ShadowRoot CLs Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/HTMLTemplateElement.h
diff --git a/Source/core/html/HTMLTemplateElement.h b/Source/core/html/HTMLTemplateElement.h
index f2dc707718b8d18a2775bebcf8dc406a7e4fa5ad..0c6e9ce54e1f4c7ae1bcd7e6b6f12804b13a50ce 100644
--- a/Source/core/html/HTMLTemplateElement.h
+++ b/Source/core/html/HTMLTemplateElement.h
@@ -42,6 +42,7 @@ class HTMLTemplateElement FINAL : public HTMLElement {
public:
static PassRefPtrWillBeRawPtr<HTMLTemplateElement> create(Document&);
virtual ~HTMLTemplateElement();
+ virtual void trace(Visitor*) OVERRIDE;
DocumentFragment* content() const;
@@ -51,7 +52,7 @@ private:
explicit HTMLTemplateElement(Document&);
- mutable RefPtr<TemplateContentDocumentFragment> m_content;
+ mutable RefPtrWillBeMember<TemplateContentDocumentFragment> m_content;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698