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

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

Issue 407093010: Simplify compareDocumentPosition (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 months 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/DocumentOrderedList.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index c73d7bf8443d469dd740a80da94765c9c5b94bc7..655b9136d377f607d1171ee6aedb24142bec7d67 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -602,14 +602,12 @@ public:
virtual bool willRespondToMouseClickEvents();
virtual bool willRespondToTouchEvents();
- unsigned short compareDocumentPosition(const Node*) const;
-
enum ShadowTreesTreatment {
TreatShadowTreesAsDisconnected,
TreatShadowTreesAsComposed
};
- unsigned short compareDocumentPositionInternal(const Node*, ShadowTreesTreatment) const;
+ unsigned short compareDocumentPosition(const Node*, ShadowTreesTreatment = TreatShadowTreesAsDisconnected) const;
virtual Node* toNode() OVERRIDE FINAL;
« no previous file with comments | « Source/core/dom/DocumentOrderedList.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698