OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "sky/engine/config.h" | |
6 #include "sky/engine/core/dom/WeakNodeMap.h" | 5 #include "sky/engine/core/dom/WeakNodeMap.h" |
7 | 6 |
8 #include "sky/engine/core/dom/Node.h" | 7 #include "sky/engine/core/dom/Node.h" |
9 | 8 |
10 namespace blink { | 9 namespace blink { |
11 | 10 |
12 #if !ENABLE(OILPAN) | 11 #if !ENABLE(OILPAN) |
13 class NodeToWeakNodeMaps { | 12 class NodeToWeakNodeMaps { |
14 public: | 13 public: |
15 bool addedToMap(Node*, WeakNodeMap*); | 14 bool addedToMap(Node*, WeakNodeMap*); |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 m_valueToNode.remove(value); | 96 m_valueToNode.remove(value); |
98 } | 97 } |
99 | 98 |
100 void WeakNodeMap::notifyNodeDestroyed(Node* node) | 99 void WeakNodeMap::notifyNodeDestroyed(Node* node) |
101 { | 100 { |
102 NodeToWeakNodeMaps::instance().nodeDestroyed(node); | 101 NodeToWeakNodeMaps::instance().nodeDestroyed(node); |
103 } | 102 } |
104 #endif | 103 #endif |
105 | 104 |
106 } | 105 } |
OLD | NEW |