Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: Source/wtf/text/StringImpl.h

Issue 835953003: Fix template angle bracket syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/wtf/text/StringHash.h ('k') | Source/wtf/text/StringImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « Source/wtf/text/StringHash.h ('k') | Source/wtf/text/StringImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698