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

Unified Diff: Source/wtf/RetainPtr.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/wtf/RefVector.h ('k') | Source/wtf/SizeLimits.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/RetainPtr.h
diff --git a/Source/wtf/RetainPtr.h b/Source/wtf/RetainPtr.h
index 516ec640947a1e214ebad7954bf61c72b83ef04b..95fb474d18dd626dbf121eee66462e5d58540133 100644
--- a/Source/wtf/RetainPtr.h
+++ b/Source/wtf/RetainPtr.h
@@ -279,9 +279,9 @@ namespace WTF {
return RetainPtr<T>(o);
}
- template<typename P> struct HashTraits<RetainPtr<P> > : SimpleClassHashTraits<RetainPtr<P> > { };
+ template<typename P> struct HashTraits<RetainPtr<P>> : SimpleClassHashTraits<RetainPtr<P>> { };
- template<typename P> struct PtrHash<RetainPtr<P> > : PtrHash<typename RetainPtr<P>::PtrType> {
+ template<typename P> struct PtrHash<RetainPtr<P>> : PtrHash<typename RetainPtr<P>::PtrType> {
using PtrHash<typename RetainPtr<P>::PtrType>::hash;
static unsigned hash(const RetainPtr<P>& key) { return hash(key.get()); }
using PtrHash<typename RetainPtr<P>::PtrType>::equal;
@@ -290,7 +290,7 @@ namespace WTF {
static bool equal(const RetainPtr<P>& a, typename RetainPtr<P>::PtrType b) { return a == b; }
};
- template<typename P> struct DefaultHash<RetainPtr<P> > { typedef PtrHash<RetainPtr<P> > Hash; };
+ template<typename P> struct DefaultHash<RetainPtr<P>> { typedef PtrHash<RetainPtr<P>> Hash; };
} // namespace WTF
using WTF::AdoptCF;
« no previous file with comments | « Source/wtf/RefVector.h ('k') | Source/wtf/SizeLimits.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698