| Index: Source/core/dom/DOMNodeIds.h
|
| diff --git a/Source/core/dom/DOMNodeIds.h b/Source/core/dom/DOMNodeIds.h
|
| index e8b18c3dbf4b4b66f3f89806ef0ef067b1bbb817..2defabbe288955e26a07a79baf692fed5466562a 100644
|
| --- a/Source/core/dom/DOMNodeIds.h
|
| +++ b/Source/core/dom/DOMNodeIds.h
|
| @@ -6,11 +6,21 @@
|
| #define DOMNodeIds_h
|
|
|
| #include "core/CoreExport.h"
|
| +#include "core/dom/WeakIdentifierMap.h"
|
|
|
| namespace blink {
|
|
|
| class Node;
|
|
|
| +#if !ENABLE(OILPAN)
|
| +template<> struct WeakIdentifierMapTraits<Node> {
|
| + static void removedFromIdentifierMap(Node*);
|
| + static void addedToIdentifierMap(Node*);
|
| +};
|
| +#endif
|
| +
|
| +typedef WeakIdentifierMap<Node> WeakNodeMap;
|
| +
|
| class CORE_EXPORT DOMNodeIds {
|
| public:
|
| static int idForNode(Node*);
|
|
|