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

Unified Diff: Source/wtf/HashSet.h

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/wtf/HashMap.h ('k') | Source/wtf/HashTable.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/HashSet.h
diff --git a/Source/wtf/HashSet.h b/Source/wtf/HashSet.h
index 7ba280308f8234c9e812be476b89a8a372dcb178..0953ec16d0d9688c7b7f32582fd0ea340ec6c8f0 100644
--- a/Source/wtf/HashSet.h
+++ b/Source/wtf/HashSet.h
@@ -27,7 +27,7 @@
namespace WTF {
struct IdentityExtractor;
-
+
template<typename Value, typename HashFunctions, typename Traits> class HashSet;
template<typename Value, typename HashFunctions, typename Traits>
void deleteAllValues(const HashSet<Value, HashFunctions, Traits>&);
@@ -71,7 +71,7 @@ namespace WTF {
template<typename HashTranslator, typename T> iterator find(const T&) const;
template<typename HashTranslator, typename T> bool contains(const T&) const;
- // The return value is a pair of an interator to the new value's location,
+ // The return value is a pair of an interator to the new value's location,
// and a bool that is true if an new entry was added.
AddResult add(const ValueType&);
@@ -112,49 +112,49 @@ namespace WTF {
template<typename T, typename U, typename V>
inline void HashSet<T, U, V>::swap(HashSet& other)
{
- m_impl.swap(other.m_impl);
+ m_impl.swap(other.m_impl);
}
template<typename T, typename U, typename V>
inline int HashSet<T, U, V>::size() const
{
- return m_impl.size();
+ return m_impl.size();
}
template<typename T, typename U, typename V>
inline int HashSet<T, U, V>::capacity() const
{
- return m_impl.capacity();
+ return m_impl.capacity();
}
template<typename T, typename U, typename V>
inline bool HashSet<T, U, V>::isEmpty() const
{
- return m_impl.isEmpty();
+ return m_impl.isEmpty();
}
template<typename T, typename U, typename V>
inline typename HashSet<T, U, V>::iterator HashSet<T, U, V>::begin() const
{
- return m_impl.begin();
+ return m_impl.begin();
}
template<typename T, typename U, typename V>
inline typename HashSet<T, U, V>::iterator HashSet<T, U, V>::end() const
{
- return m_impl.end();
+ return m_impl.end();
}
template<typename T, typename U, typename V>
inline typename HashSet<T, U, V>::iterator HashSet<T, U, V>::find(const ValueType& value) const
{
- return m_impl.find(value);
+ return m_impl.find(value);
}
template<typename T, typename U, typename V>
inline bool HashSet<T, U, V>::contains(const ValueType& value) const
{
- return m_impl.contains(value);
+ return m_impl.contains(value);
}
template<typename Value, typename HashFunctions, typename Traits>
@@ -204,7 +204,7 @@ namespace WTF {
template<typename T, typename U, typename V>
inline void HashSet<T, U, V>::clear()
{
- m_impl.clear();
+ m_impl.clear();
}
template<typename T, typename U, typename V>
@@ -243,14 +243,14 @@ namespace WTF {
inline void copyToVector(const C& collection, W& vector)
{
typedef typename C::const_iterator iterator;
-
+
vector.resize(collection.size());
-
+
iterator it = collection.begin();
iterator end = collection.end();
for (unsigned i = 0; it != end; ++it, ++i)
vector[i] = *it;
- }
+ }
} // namespace WTF
« no previous file with comments | « Source/wtf/HashMap.h ('k') | Source/wtf/HashTable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698