Index: Source/core/dom/Node.cpp |
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp |
index 6814c96b974c7e534a18b5ae7e3611e8e49e6477..6e881c0ab9faac23ab1a8f6664f2c86d85eee1e1 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,12 @@ bool Node::canStartSelection() const |
return parentOrShadowHostNode() ? parentOrShadowHostNode()->canStartSelection() : true; |
} |
+bool Node::isRegisteredWithNamedFlow(const FlowThreadController* flowThreadController) const |
+{ |
+ ASSERT(flowThreadController); |
+ return flowThreadController->isContentNodeRegisteredWithAnyNamedFlow(this); |
esprehn
2013/07/01 18:27:19
Don't pass the flowThreadContorller in, just get i
|
+} |
+ |
Element* Node::shadowHost() const |
{ |
if (ShadowRoot* root = containingShadowRoot()) |