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

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

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/dom/DOMNodeIds.h ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/DOMNodeIds.cpp
diff --git a/Source/core/dom/DOMNodeIds.cpp b/Source/core/dom/DOMNodeIds.cpp
index 532f4e9a701928289f5e5e512a04e6df0099350d..4eb92347882cf560f7c8cd635ebcce789cdc76a9 100644
--- a/Source/core/dom/DOMNodeIds.cpp
+++ b/Source/core/dom/DOMNodeIds.cpp
@@ -4,11 +4,12 @@
#include "config.h"
#include "core/dom/DOMNodeIds.h"
-#include "core/dom/Node.h"
#include "platform/heap/Handle.h"
namespace blink {
+template class WeakIdentifierMap<Node>;
+
#if !ENABLE(OILPAN)
void WeakIdentifierMapTraits<Node>::removedFromIdentifierMap(Node* node)
{
@@ -23,7 +24,7 @@ void WeakIdentifierMapTraits<Node>::addedToIdentifierMap(Node* node)
static WeakNodeMap& nodeIds()
{
- DEFINE_STATIC_LOCAL(RawPtrWillBePersistent<WeakNodeMap>, self, (new WeakNodeMap()));
+ DEFINE_STATIC_LOCAL(WeakNodeMap::ReferenceType, self, (new WeakNodeMap()));
return *self;
}
« no previous file with comments | « Source/core/dom/DOMNodeIds.h ('k') | Source/core/dom/Node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698