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

Unified Diff: Source/wtf/HashIterators.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/HashFunctions.h ('k') | Source/wtf/HashMap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/HashIterators.h
diff --git a/Source/wtf/HashIterators.h b/Source/wtf/HashIterators.h
index 9be4de323c5658b33f95b2f9776ec5aee5274b2c..ea7a468179a45193fbfa966cfd52d1793cf8b3ed 100644
--- a/Source/wtf/HashIterators.h
+++ b/Source/wtf/HashIterators.h
@@ -20,7 +20,7 @@
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef WTF_HashIterators_h
@@ -90,7 +90,7 @@ namespace WTF {
public:
HashTableConstKeysIterator(const ConstIterator& impl) : m_impl(impl) {}
-
+
const KeyType* get() const { return &(m_impl.get()->key); }
const KeyType& operator*() const { return *get(); }
const KeyType* operator->() const { return get(); }
@@ -107,7 +107,7 @@ namespace WTF {
public:
HashTableConstValuesIterator(const ConstIterator& impl) : m_impl(impl) {}
-
+
const MappedType* get() const { return &(m_impl.get()->value); }
const MappedType& operator*() const { return *get(); }
const MappedType* operator->() const { return get(); }
@@ -125,7 +125,7 @@ namespace WTF {
public:
HashTableKeysIterator(const Iterator& impl) : m_impl(impl) {}
-
+
KeyType* get() const { return &(m_impl.get()->key); }
KeyType& operator*() const { return *get(); }
KeyType* operator->() const { return get(); }
@@ -148,7 +148,7 @@ namespace WTF {
public:
HashTableValuesIterator(const Iterator& impl) : m_impl(impl) {}
-
+
MappedType* get() const { return &(m_impl.get()->value); }
MappedType& operator*() const { return *get(); }
MappedType* operator->() const { return get(); }
« no previous file with comments | « Source/wtf/HashFunctions.h ('k') | Source/wtf/HashMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698