diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/core/dom/TreeScopeAdopter.h')
-rw-r--r-- | chromium/third_party/WebKit/Source/core/dom/TreeScopeAdopter.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chromium/third_party/WebKit/Source/core/dom/TreeScopeAdopter.h b/chromium/third_party/WebKit/Source/core/dom/TreeScopeAdopter.h index 17742ba2553..85310ec0888 100644 --- a/chromium/third_party/WebKit/Source/core/dom/TreeScopeAdopter.h +++ b/chromium/third_party/WebKit/Source/core/dom/TreeScopeAdopter.h @@ -32,6 +32,7 @@ namespace WebCore { class TreeScope; class TreeScopeAdopter { + STACK_ALLOCATED(); public: TreeScopeAdopter(Node& toAdopt, TreeScope& newScope); @@ -47,8 +48,8 @@ public: private: void updateTreeScope(Node&) const; void moveTreeToNewScope(Node&) const; - void moveTreeToNewDocument(Node&, Document& oldDocument, Document* newDocument) const; - void moveNodeToNewDocument(Node&, Document& oldDocument, Document* newDocument) const; + void moveTreeToNewDocument(Node&, Document& oldDocument, Document& newDocument) const; + void moveNodeToNewDocument(Node&, Document& oldDocument, Document& newDocument) const; Node& m_toAdopt; TreeScope& m_newScope; |