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

Unified Diff: Source/core/dom/Document.idl

Issue 21274004: Fix Document leak from NodeFilter. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add TreeWalker leak test Created 7 years, 5 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/dom/Document.idl
diff --git a/Source/core/dom/Document.idl b/Source/core/dom/Document.idl
index 3e1af34765153ba73181c050e3ba8122a07fc93b..0d961a0666efba290056682c6277e5bce676db18 100644
--- a/Source/core/dom/Document.idl
+++ b/Source/core/dom/Document.idl
@@ -75,14 +75,14 @@ callback CustomElementConstructor = Element ();
// In DOM4, the fourth argument |expandEntityReferences| is removed.
// Historically, this argument was never implemented and has been ignored.
// We still receive the argument to keep compatibility, but don't do anything if it's specified.
- [RaisesException] NodeIterator createNodeIterator(Node root,
- optional unsigned long whatToShow,
- optional NodeFilter filter,
- optional boolean expandEntityReferences);
- [RaisesException] TreeWalker createTreeWalker(Node root,
- optional unsigned long whatToShow,
- optional NodeFilter filter,
- optional boolean expandEntityReferences);
+ [Custom, RaisesException] NodeIterator createNodeIterator(Node root,
+ optional unsigned long whatToShow,
+ optional NodeFilter filter,
+ optional boolean expandEntityReferences);
+ [Custom, RaisesException] TreeWalker createTreeWalker(Node root,
+ optional unsigned long whatToShow,
+ optional NodeFilter filter,
+ optional boolean expandEntityReferences);
// DOM Level 2 Abstract Views (DocumentView interface)

Powered by Google App Engine
This is Rietveld 408576698