Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index 6814c96b974c7e534a18b5ae7e3611e8e49e6477..adb586a6d6b8af3460243e730448cd293470431d 100644 |
--- a/Source/core/dom/Node.cpp |
+++ b/Source/core/dom/Node.cpp |
@@ -82,6 +82,7 @@ |
#include "core/page/Page.h" |
#include "core/page/Settings.h" |
#include "core/platform/Partitions.h" |
+#include "core/rendering/FlowThreadController.h" |
#include "core/rendering/RenderBox.h" |
#include "wtf/HashSet.h" |
#include "wtf/PassOwnPtr.h" |
@@ -1193,6 +1194,11 @@ bool Node::canStartSelection() const |
return parentOrShadowHostNode() ? parentOrShadowHostNode()->canStartSelection() : true; |
} |
+bool Node::isRegisteredWithNamedFlow() const |
+{ |
+ return document()->renderView()->flowThreadController()->isContentNodeRegisteredWithAnyNamedFlow(this); |
+} |
+ |
Element* Node::shadowHost() const |
{ |
if (ShadowRoot* root = containingShadowRoot()) |