| 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 #ifndef WeakNodeMap_h | 5 #ifndef SKY_ENGINE_CORE_DOM_WEAKNODEMAP_H_ |
| 6 #define WeakNodeMap_h | 6 #define SKY_ENGINE_CORE_DOM_WEAKNODEMAP_H_ |
| 7 | 7 |
| 8 #include "sky/engine/wtf/HashMap.h" | 8 #include "sky/engine/wtf/HashMap.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| 11 | 11 |
| 12 // Oilpan supports weak maps, so we no longer need WeakNodeMap. | 12 // Oilpan supports weak maps, so we no longer need WeakNodeMap. |
| 13 #if !ENABLE(OILPAN) | 13 #if !ENABLE(OILPAN) |
| 14 class Node; | 14 class Node; |
| 15 class NodeToWeakNodeMaps; | 15 class NodeToWeakNodeMaps; |
| 16 | 16 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 33 | 33 |
| 34 typedef HashMap<Node*, int> NodeToValue; | 34 typedef HashMap<Node*, int> NodeToValue; |
| 35 NodeToValue m_nodeToValue; | 35 NodeToValue m_nodeToValue; |
| 36 typedef HashMap<int, Node*> ValueToNode; | 36 typedef HashMap<int, Node*> ValueToNode; |
| 37 ValueToNode m_valueToNode; | 37 ValueToNode m_valueToNode; |
| 38 }; | 38 }; |
| 39 #endif | 39 #endif |
| 40 | 40 |
| 41 } | 41 } |
| 42 | 42 |
| 43 #endif | 43 #endif // SKY_ENGINE_CORE_DOM_WEAKNODEMAP_H_ |
| OLD | NEW |