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

Side by Side Diff: third_party/WebKit/Source/wtf/text/StringHash.h

Issue 1629693002: Add missing closing namespace comments to wtf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: PR26274 Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2012, 2013 Apple Inc. All rights reserved 2 * Copyright (C) 2006, 2007, 2008, 2012, 2013 Apple Inc. All rights reserved
3 * Copyright (C) Research In Motion Limited 2009. All rights reserved. 3 * Copyright (C) Research In Motion Limited 2009. 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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 static unsigned avoidDeletedValue(unsigned hash) 154 static unsigned avoidDeletedValue(unsigned hash)
155 { 155 {
156 ASSERT(hash); 156 ASSERT(hash);
157 unsigned newHash = hash | (!(hash + 1) << 31); 157 unsigned newHash = hash | (!(hash + 1) << 31);
158 ASSERT(newHash); 158 ASSERT(newHash);
159 ASSERT(newHash != 0xFFFFFFFF); 159 ASSERT(newHash != 0xFFFFFFFF);
160 return newHash; 160 return newHash;
161 } 161 }
162 }; 162 };
163 163
164 } 164 } // namespace WTF
165 165
166 using WTF::AlreadyHashed; 166 using WTF::AlreadyHashed;
167 using WTF::CaseFoldingHash; 167 using WTF::CaseFoldingHash;
168 using WTF::StringHash; 168 using WTF::StringHash;
169 169
170 #endif 170 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/wtf/text/StringBuilderTest.cpp ('k') | third_party/WebKit/Source/wtf/text/StringImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698