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

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

Issue 1085033003: Introduce InspectorIdentifiers<> and use it to assign/lookup LocalFrame and DocumentLoader (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: win build error fixed Created 5 years, 8 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/core.gypi ('k') | Source/core/dom/DOMNodeIds.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMNodeIds.h
diff --git a/Source/core/dom/DOMNodeIds.h b/Source/core/dom/DOMNodeIds.h
index 2defabbe288955e26a07a79baf692fed5466562a..97934a5e1dc4a16611b80fe5a4727aeea6e6fb7f 100644
--- a/Source/core/dom/DOMNodeIds.h
+++ b/Source/core/dom/DOMNodeIds.h
@@ -6,12 +6,11 @@
#define DOMNodeIds_h
#include "core/CoreExport.h"
+#include "core/dom/Node.h"
#include "core/dom/WeakIdentifierMap.h"
namespace blink {
-class Node;
-
#if !ENABLE(OILPAN)
template<> struct WeakIdentifierMapTraits<Node> {
static void removedFromIdentifierMap(Node*);
@@ -19,7 +18,8 @@ template<> struct WeakIdentifierMapTraits<Node> {
};
#endif
-typedef WeakIdentifierMap<Node> WeakNodeMap;
+extern template class WeakIdentifierMap<Node>;
+using WeakNodeMap = WeakIdentifierMap<Node>;
class CORE_EXPORT DOMNodeIds {
public:
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/DOMNodeIds.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698