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

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

Issue 2860293002: Change cc::ElementId to be a uint64_t (Closed)
Patch Set: none Created 3 years, 7 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
Index: third_party/WebKit/Source/core/dom/DOMNodeIds.h
diff --git a/third_party/WebKit/Source/core/dom/DOMNodeIds.h b/third_party/WebKit/Source/core/dom/DOMNodeIds.h
index 15bb91f13db1d45355d55d7538b2e146338e8bcd..5228e2aaf7337d0568d4347125a31bb7b93e4161 100644
--- a/third_party/WebKit/Source/core/dom/DOMNodeIds.h
+++ b/third_party/WebKit/Source/core/dom/DOMNodeIds.h
@@ -12,14 +12,14 @@
namespace blink {
-DECLARE_WEAK_IDENTIFIER_MAP(Node);
+DECLARE_WEAK_IDENTIFIER_MAP(Node, uint64_t);
class CORE_EXPORT DOMNodeIds {
STATIC_ONLY(DOMNodeIds);
public:
- static int IdForNode(Node*);
- static Node* NodeForId(int id);
+ static uint64_t IdForNode(Node*);
wkorman 2017/05/05 20:06:10 Could be worth defining something like 'using Node
chrishtr 2017/05/05 20:46:09 Done.
+ static Node* NodeForId(uint64_t id);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698