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

Unified Diff: sky/engine/core/dom/ContainerNode.h

Issue 732203004: Clean up child checks in ContainerNode. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Add back secondary hierarchy checks. Created 6 years, 1 month 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
« no previous file with comments | « no previous file | sky/engine/core/dom/ContainerNode.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/ContainerNode.h
diff --git a/sky/engine/core/dom/ContainerNode.h b/sky/engine/core/dom/ContainerNode.h
index 5ad3ce0971f353508213782f5eacec7e92fcb477..2cd49016dfed2716d9a4893816d572d8d1226ce0 100644
--- a/sky/engine/core/dom/ContainerNode.h
+++ b/sky/engine/core/dom/ContainerNode.h
@@ -142,10 +142,9 @@ private:
void notifyNodeInsertedInternal(Node&, NodeVector& postInsertionNotificationTargets);
void notifyNodeRemoved(Node&);
- inline bool checkAcceptChildGuaranteedNodeTypes(const Node& newChild, ExceptionState&) const;
- inline bool checkAcceptChild(const Node* newChild, const Node* oldChild, ExceptionState&) const;
+ inline void checkAcceptChildType(const Node* newChild, ExceptionState&) const;
+ inline void checkAcceptChildHierarchy(const Node& newChild, const Node* oldChild, ExceptionState&) const;
inline bool containsConsideringHostElements(const Node&) const;
- inline bool isChildTypeAllowed(const Node& child) const;
void attachChildren(const AttachContext& = AttachContext());
void detachChildren(const AttachContext& = AttachContext());
« no previous file with comments | « no previous file | sky/engine/core/dom/ContainerNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698