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

Unified Diff: Source/core/dom/TemplateContentDocumentFragment.h

Issue 48633006: Teach V8GCController how to traverse TemplateContentDocumentFragment::host (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 years, 1 month 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/Node.cpp ('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/dom/TemplateContentDocumentFragment.h
diff --git a/Source/core/dom/TemplateContentDocumentFragment.h b/Source/core/dom/TemplateContentDocumentFragment.h
index 6c44e6075eea706843dffeacce91ecec4a06951d..380e8fa48b25250083dfe50185627aaeba1a4b20 100644
--- a/Source/core/dom/TemplateContentDocumentFragment.h
+++ b/Source/core/dom/TemplateContentDocumentFragment.h
@@ -33,16 +33,16 @@ namespace WebCore {
class TemplateContentDocumentFragment FINAL : public DocumentFragment {
public:
- static PassRefPtr<TemplateContentDocumentFragment> create(Document& document, const Element* host)
+ static PassRefPtr<TemplateContentDocumentFragment> create(Document& document, Element* host)
{
return adoptRef(new TemplateContentDocumentFragment(document, host));
}
- const Element* host() const { return m_host; }
+ Element* host() const { return m_host; }
void clearHost() { m_host = 0; }
private:
- TemplateContentDocumentFragment(Document& document, const Element* host)
+ TemplateContentDocumentFragment(Document& document, Element* host)
: DocumentFragment(&document, CreateDocumentFragment)
, m_host(host)
{
@@ -50,7 +50,7 @@ private:
virtual bool isTemplateContent() const OVERRIDE { return true; }
- const Element* m_host;
+ Element* m_host;
};
} // namespace WebCore
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/html/HTMLTemplateElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698