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

Unified Diff: Source/core/dom/ChildNode.h

Issue 799523002: Split NonDocumentTypeChildNode from ChildNode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 | « Source/core/dom/CharacterData.idl ('k') | Source/core/dom/ChildNode.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ChildNode.h
diff --git a/Source/core/dom/ChildNode.h b/Source/core/dom/ChildNode.h
index 749e4be02c0cedf766a7261389ef1a7bd734a668..3c3b1f5b0560251ee311f174acf1ac75e3025a61 100644
--- a/Source/core/dom/ChildNode.h
+++ b/Source/core/dom/ChildNode.h
@@ -5,23 +5,12 @@
#ifndef ChildNode_h
#define ChildNode_h
-#include "core/dom/ElementTraversal.h"
#include "core/dom/Node.h"
namespace blink {
class ChildNode {
public:
- static Element* previousElementSibling(Node& node)
- {
- return ElementTraversal::previousSibling(node);
- }
-
- static Element* nextElementSibling(Node& node)
- {
- return ElementTraversal::nextSibling(node);
- }
-
static void remove(Node& node, ExceptionState& exceptionState)
{
return node.remove(exceptionState);
« no previous file with comments | « Source/core/dom/CharacterData.idl ('k') | Source/core/dom/ChildNode.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698