| 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 "core/dom/DOMNodeIds.h" | 5 #include "core/dom/DOMNodeIds.h" |
| 6 | 6 |
| 7 #include "platform/heap/Handle.h" | 7 #include "platform/heap/Handle.h" |
| 8 | 8 |
| 9 namespace blink { | 9 namespace blink { |
| 10 | 10 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 { | 27 { |
| 28 return WeakIdentifierMap<Node>::identifier(node); | 28 return WeakIdentifierMap<Node>::identifier(node); |
| 29 } | 29 } |
| 30 | 30 |
| 31 // static | 31 // static |
| 32 Node* DOMNodeIds::nodeForId(int id) | 32 Node* DOMNodeIds::nodeForId(int id) |
| 33 { | 33 { |
| 34 return WeakIdentifierMap<Node>::lookup(id); | 34 return WeakIdentifierMap<Node>::lookup(id); |
| 35 } | 35 } |
| 36 | 36 |
| 37 } | 37 } // namespace blink |
| OLD | NEW |