| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2013 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2013 Apple Inc. All rights reserv
ed. |
| 3 * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com> | 3 * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com> |
| 4 * Copyright (C) 2012 Google Inc. All rights reserved. | 4 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| 11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
| 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
| 15 * | 15 * |
| 16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
| 17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
| 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
| 20 * | 20 * |
| 21 */ | 21 */ |
| 22 | 22 |
| 23 #include "config.h" | 23 #include "config.h" |
| 24 | 24 |
| 25 #include "AtomicString.h" | 25 #include "AtomicString.h" |
| 26 | 26 |
| 27 #include "StringHash.h" | 27 #include "StringHash.h" |
| 28 #include <wtf/HashSet.h> | 28 #include "wtf/HashSet.h" |
| 29 #include <wtf/Threading.h> | 29 #include "wtf/Threading.h" |
| 30 #include <wtf/WTFThreadData.h> | 30 #include "wtf/WTFThreadData.h" |
| 31 #include <wtf/unicode/UTF8.h> | 31 #include "wtf/unicode/UTF8.h" |
| 32 | 32 |
| 33 namespace WTF { | 33 namespace WTF { |
| 34 | 34 |
| 35 using namespace Unicode; | 35 using namespace Unicode; |
| 36 | 36 |
| 37 COMPILE_ASSERT(sizeof(AtomicString) == sizeof(String), atomic_string_and_string_
must_be_same_size); | 37 COMPILE_ASSERT(sizeof(AtomicString) == sizeof(String), atomic_string_and_string_
must_be_same_size); |
| 38 | 38 |
| 39 class AtomicStringTable { | 39 class AtomicStringTable { |
| 40 WTF_MAKE_FAST_ALLOCATED; | 40 WTF_MAKE_FAST_ALLOCATED; |
| 41 public: | 41 public: |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 } | 453 } |
| 454 | 454 |
| 455 #ifndef NDEBUG | 455 #ifndef NDEBUG |
| 456 void AtomicString::show() const | 456 void AtomicString::show() const |
| 457 { | 457 { |
| 458 m_string.show(); | 458 m_string.show(); |
| 459 } | 459 } |
| 460 #endif | 460 #endif |
| 461 | 461 |
| 462 } // namespace WTF | 462 } // namespace WTF |
| OLD | NEW |