OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights
reserved. | 3 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights
reserved. |
4 * Copyright (C) 2009 Google Inc. All rights reserved. | 4 * Copyright (C) 2009 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 * |
(...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
762 | 762 |
763 // StringHash is the default hash for StringImpl* and RefPtr<StringImpl> | 763 // StringHash is the default hash for StringImpl* and RefPtr<StringImpl> |
764 template<typename T> struct DefaultHash; | 764 template<typename T> struct DefaultHash; |
765 template<> struct DefaultHash<StringImpl*> { | 765 template<> struct DefaultHash<StringImpl*> { |
766 typedef StringHash Hash; | 766 typedef StringHash Hash; |
767 }; | 767 }; |
768 template<> struct DefaultHash<RefPtr<StringImpl>> { | 768 template<> struct DefaultHash<RefPtr<StringImpl>> { |
769 typedef StringHash Hash; | 769 typedef StringHash Hash; |
770 }; | 770 }; |
771 | 771 |
772 } | 772 } // namespace WTF |
773 | 773 |
774 using WTF::StringImpl; | 774 using WTF::StringImpl; |
775 using WTF::equal; | 775 using WTF::equal; |
776 using WTF::equalNonNull; | 776 using WTF::equalNonNull; |
777 using WTF::TextCaseSensitivity; | 777 using WTF::TextCaseSensitivity; |
778 using WTF::TextCaseSensitive; | 778 using WTF::TextCaseSensitive; |
779 using WTF::TextCaseASCIIInsensitive; | 779 using WTF::TextCaseASCIIInsensitive; |
780 using WTF::TextCaseInsensitive; | 780 using WTF::TextCaseInsensitive; |
781 | 781 |
782 #endif | 782 #endif |
OLD | NEW |