| Index: Source/WebCore/dom/Node.h
|
| ===================================================================
|
| --- Source/WebCore/dom/Node.h (revision 145445)
|
| +++ Source/WebCore/dom/Node.h (working copy)
|
| @@ -248,7 +248,7 @@
|
| virtual bool isInsertionPointNode() const { return false; }
|
|
|
| bool isDocumentNode() const;
|
| - bool isTreeScope() const;
|
| + bool isTreeScope() const { return treeScope()->rootNode() == this; }
|
| bool isDocumentFragment() const { return getFlag(IsDocumentFragmentFlag); }
|
| bool isShadowRoot() const { return isDocumentFragment() && isTreeScope(); }
|
| bool isInsertionPoint() const { return getFlag(NeedsShadowTreeWalkerFlag) && isInsertionPointNode(); }
|
|
|