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

Unified Diff: Source/wtf/TypeTraits.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/TriState.h ('k') | Source/wtf/TypedArrayBase.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/TypeTraits.h
diff --git a/Source/wtf/TypeTraits.h b/Source/wtf/TypeTraits.h
index 30616c68204776b941367d925c7c5ad24f5bca91..265e9e53da6ad526524bb94ec873670ec9ad6748 100644
--- a/Source/wtf/TypeTraits.h
+++ b/Source/wtf/TypeTraits.h
@@ -230,7 +230,7 @@ namespace WTF {
#if COMPILER(CLANG) || GCC_VERSION_AT_LEAST(4, 6, 0) || (defined(_MSC_VER) && (_MSC_VER >= 1400) && (_MSC_VER < 1600) && !defined(__INTEL_COMPILER))
// VC8 (VS2005) and later has __has_trivial_constructor and __has_trivial_destructor,
- // but the implementation returns false for built-in types. We add the extra IsPod condition to
+ // but the implementation returns false for built-in types. We add the extra IsPod condition to
// work around this.
template <typename T> struct HasTrivialConstructor {
static const bool value = __has_trivial_constructor(T) || IsPod<RemoveConstVolatile<T> >::value;
@@ -244,9 +244,9 @@ namespace WTF {
template<typename T> struct HasTrivialConstructor : public std::tr1::has_trivial_constructor<T> { };
template<typename T> struct HasTrivialDestructor : public std::tr1::has_trivial_destructor<T> { };
#else
- // For compilers that don't support detection of trivial constructors and destructors in classes,
- // we use a template that returns true for any POD type that IsPod can detect (see IsPod caveats above),
- // but false for all other types (which includes all classes). This will give false negatives, which can hurt
+ // For compilers that don't support detection of trivial constructors and destructors in classes,
+ // we use a template that returns true for any POD type that IsPod can detect (see IsPod caveats above),
+ // but false for all other types (which includes all classes). This will give false negatives, which can hurt
// performance, but avoids false positives, which would result in incorrect behavior.
template <typename T> struct HasTrivialConstructor {
static const bool value = IsPod<RemoveConstVolatile<T> >::value;
« no previous file with comments | « Source/wtf/TriState.h ('k') | Source/wtf/TypedArrayBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698