| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 , m_nodeMap() | 51 , m_nodeMap() |
| 52 , m_objectMap() | 52 , m_objectMap() |
| 53 , m_messagePortMap() | 53 , m_messagePortMap() |
| 54 , m_activeObjectMap() | 54 , m_activeObjectMap() |
| 55 , m_eventTargetMap() | 55 , m_eventTargetMap() |
| 56 , m_weakCallbacks() | 56 , m_weakCallbacks() |
| 57 , m_isolateDestructionObservers() | 57 , m_isolateDestructionObservers() |
| 58 , m_customElementBindings() | 58 , m_customElementBindings() |
| 59 , m_classHandleCache() | 59 , m_classHandleCache() |
| 60 , m_libraryHandleCache() | 60 , m_libraryHandleCache() |
| 61 , m_rootScriptState(0) |
| 61 { | 62 { |
| 62 } | 63 } |
| 63 | 64 |
| 64 DartDOMData::~DartDOMData() | 65 DartDOMData::~DartDOMData() |
| 65 { | 66 { |
| 66 ASSERT(m_nodeMap.isEmpty()); | 67 ASSERT(m_nodeMap.isEmpty()); |
| 67 ASSERT(m_objectMap.isEmpty()); | 68 ASSERT(m_objectMap.isEmpty()); |
| 68 ASSERT(m_messagePortMap.isEmpty()); | 69 ASSERT(m_messagePortMap.isEmpty()); |
| 69 ASSERT(m_activeObjectMap.isEmpty()); | 70 ASSERT(m_activeObjectMap.isEmpty()); |
| 70 } | 71 } |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 } | 128 } |
| 128 | 129 |
| 129 DartCustomElementBinding* DartDOMData::customElementBinding(CustomElementDefinit
ion* definition) | 130 DartCustomElementBinding* DartDOMData::customElementBinding(CustomElementDefinit
ion* definition) |
| 130 { | 131 { |
| 131 DartCustomElementBindingMap::const_iterator it = m_customElementBindings.fin
d(definition); | 132 DartCustomElementBindingMap::const_iterator it = m_customElementBindings.fin
d(definition); |
| 132 ASSERT(it != m_customElementBindings.end()); | 133 ASSERT(it != m_customElementBindings.end()); |
| 133 return it->value.get(); | 134 return it->value.get(); |
| 134 } | 135 } |
| 135 | 136 |
| 136 } | 137 } |
| OLD | NEW |