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

Unified Diff: Source/wtf/VectorTraits.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/VectorTest.cpp ('k') | Source/wtf/WeakPtr.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/VectorTraits.h
diff --git a/Source/wtf/VectorTraits.h b/Source/wtf/VectorTraits.h
index 667992f0292cff6720edf76c6647449b39591002..8349b56b67677c8f9b8ea8678919a6ebb4b68c94 100644
--- a/Source/wtf/VectorTraits.h
+++ b/Source/wtf/VectorTraits.h
@@ -66,10 +66,10 @@ namespace WTF {
// moving with memcpy (and then not destructing the original) will totally
// work.
template<typename P>
- struct VectorTraits<RefPtr<P> > : SimpleClassVectorTraits<RefPtr<P> > { };
+ struct VectorTraits<RefPtr<P>> : SimpleClassVectorTraits<RefPtr<P>> { };
template<typename P>
- struct VectorTraits<OwnPtr<P> > : SimpleClassVectorTraits<OwnPtr<P> > {
+ struct VectorTraits<OwnPtr<P>> : SimpleClassVectorTraits<OwnPtr<P>> {
// OwnPtr -> PassOwnPtr has a very particular structure that
// tricks the normal type traits into thinking that the class
// is "trivially copyable".
@@ -83,7 +83,7 @@ namespace WTF {
static_assert(VectorTraits<OwnPtr<int>>::canCompareWithMemcmp, "inefficient OwnPtr Vector");
template<typename First, typename Second>
- struct VectorTraits<pair<First, Second> >
+ struct VectorTraits<pair<First, Second>>
{
typedef VectorTraits<First> FirstTraits;
typedef VectorTraits<Second> SecondTraits;
« no previous file with comments | « Source/wtf/VectorTest.cpp ('k') | Source/wtf/WeakPtr.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698