| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007 David Smith (catfish.man@gmail.com) | 2 * Copyright (C) 2007 David Smith (catfish.man@gmail.com) |
| 3 * Copyright (C) 2007, 2008, 2011, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2007, 2008, 2011, 2012 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 return adoptRef(new SpaceSplitString::Data(other)); | 180 return adoptRef(new SpaceSplitString::Data(other)); |
| 181 } | 181 } |
| 182 | 182 |
| 183 SpaceSplitString::Data::Data(const AtomicString& string) : m_keyString(string) { | 183 SpaceSplitString::Data::Data(const AtomicString& string) : m_keyString(string) { |
| 184 DCHECK(!string.isNull()); | 184 DCHECK(!string.isNull()); |
| 185 createVector(string); | 185 createVector(string); |
| 186 } | 186 } |
| 187 | 187 |
| 188 SpaceSplitString::Data::Data(const SpaceSplitString::Data& other) | 188 SpaceSplitString::Data::Data(const SpaceSplitString::Data& other) |
| 189 : RefCounted<Data>(), m_vector(other.m_vector) { | 189 : RefCounted<Data>(), m_vector(other.m_vector) { |
| 190 // Note that we don't copy m_keyString to indicate to the destructor that ther
e's nothing | 190 // Note that we don't copy m_keyString to indicate to the destructor that |
| 191 // to be removed from the sharedDataMap(). | 191 // there's nothing to be removed from the sharedDataMap(). |
| 192 } | 192 } |
| 193 | 193 |
| 194 } // namespace blink | 194 } // namespace blink |
| OLD | NEW |