Chromium Code Reviews| Index: third_party/WebKit/Source/core/dom/Node.h |
| diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h |
| index a2922b8d5c2c2687060afe3a23dec7ee25512b95..ee667b34fb5beac92cbfcf56305f3327dce9daa8 100644 |
| --- a/third_party/WebKit/Source/core/dom/Node.h |
| +++ b/third_party/WebKit/Source/core/dom/Node.h |
| @@ -477,7 +477,7 @@ public: |
| // Returns true if this node is associated with a document and is in its associated document's |
|
hayato
2016/04/05 09:22:50
Please update the comment.
// Returns true if thi
yuzuchan
2016/04/06 06:45:10
Done.
|
| // node tree, false otherwise. |
| - bool inDocument() const |
| + bool inShadowIncludingDocument() const |
| { |
| return getFlag(InDocumentFlag); |
| } |
| @@ -570,7 +570,7 @@ public: |
| // dispatching. |
| // |
| // WebKit notifies this callback regardless if the subtree of the node is a document tree or a floating subtree. |
| - // Implementation can determine the type of subtree by seeing insertionPoint->inDocument(). |
| + // Implementation can determine the type of subtree by seeing insertionPoint->inShadowIncludingDocument(). |
| // For a performance reason, notifications are delivered only to ContainerNode subclasses if the insertionPoint is out of document. |
| // |
| // There are another callback named didNotifySubtreeInsertionsToDocument(), which is called after all the descendant is notified, |