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

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

Issue 1807833002: Welcome isSameNode back as a per-spec method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | third_party/WebKit/Source/core/dom/Node.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Node.h
diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h
index b3422f8077da9ffb45221fdae661d1601e9e7ba4..45c2960ff7815e718b4f00b38abb32be27bb206b 100644
--- a/third_party/WebKit/Source/core/dom/Node.h
+++ b/third_party/WebKit/Source/core/dom/Node.h
@@ -233,10 +233,8 @@ public:
virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep) = 0;
void normalize();
- // TODO(yosin): Once we drop |Node.prototype.isSameNode()|, we should
- // get rid of |isSameNodeDeprecated()|.
- bool isSameNodeDeprecated(Node* other) const { return this == other; }
bool isEqualNode(Node*) const;
+ bool isSameNode(Node* other) const { return this == other; }
bool isDefaultNamespace(const AtomicString& namespaceURI) const;
const AtomicString& lookupPrefix(const AtomicString& namespaceURI) const;
const AtomicString& lookupNamespaceURI(const String& prefix) const;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/Node.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698