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

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

Issue 24023006: Merge 157543 "Clear TemplateContentDocumentFragment::m_host when..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1599/
Patch Set: Created 7 years, 3 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
« no previous file with comments | « Source/core/dom/TemplateContentDocumentFragment.h ('k') | Source/core/html/HTMLTemplateElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTemplateElement.h
===================================================================
--- Source/core/html/HTMLTemplateElement.h (revision 157860)
+++ Source/core/html/HTMLTemplateElement.h (working copy)
@@ -31,11 +31,13 @@
#ifndef HTMLTemplateElement_h
#define HTMLTemplateElement_h
-#include "core/dom/DocumentFragment.h"
#include "core/html/HTMLElement.h"
namespace WebCore {
+class DocumentFragment;
+class TemplateContentDocumentFragment;
+
class HTMLTemplateElement FINAL : public HTMLElement {
public:
static PassRefPtr<HTMLTemplateElement> create(const QualifiedName&, Document*);
@@ -49,7 +51,7 @@
HTMLTemplateElement(const QualifiedName&, Document*);
- mutable RefPtr<DocumentFragment> m_content;
+ mutable RefPtr<TemplateContentDocumentFragment> m_content;
};
const HTMLTemplateElement* toHTMLTemplateElement(const Node*);
« no previous file with comments | « Source/core/dom/TemplateContentDocumentFragment.h ('k') | Source/core/html/HTMLTemplateElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698