| 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 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 729 return create(characters16(), m_length); | 729 return create(characters16(), m_length); |
| 730 } | 730 } |
| 731 | 731 |
| 732 struct StringHash; | 732 struct StringHash; |
| 733 | 733 |
| 734 // StringHash is the default hash for StringImpl* and RefPtr<StringImpl> | 734 // StringHash is the default hash for StringImpl* and RefPtr<StringImpl> |
| 735 template<typename T> struct DefaultHash; | 735 template<typename T> struct DefaultHash; |
| 736 template<> struct DefaultHash<StringImpl*> { | 736 template<> struct DefaultHash<StringImpl*> { |
| 737 typedef StringHash Hash; | 737 typedef StringHash Hash; |
| 738 }; | 738 }; |
| 739 template<> struct DefaultHash<RefPtr<StringImpl> > { | 739 template<> struct DefaultHash<RefPtr<StringImpl>> { |
| 740 typedef StringHash Hash; | 740 typedef StringHash Hash; |
| 741 }; | 741 }; |
| 742 | 742 |
| 743 } | 743 } |
| 744 | 744 |
| 745 using WTF::StringImpl; | 745 using WTF::StringImpl; |
| 746 using WTF::equal; | 746 using WTF::equal; |
| 747 using WTF::equalNonNull; | 747 using WTF::equalNonNull; |
| 748 using WTF::TextCaseSensitivity; | 748 using WTF::TextCaseSensitivity; |
| 749 using WTF::TextCaseSensitive; | 749 using WTF::TextCaseSensitive; |
| 750 using WTF::TextCaseInsensitive; | 750 using WTF::TextCaseInsensitive; |
| 751 | 751 |
| 752 #endif | 752 #endif |
| OLD | NEW |