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

Unified Diff: third_party/WebKit/Source/wtf/ConditionalDestructor.h

Issue 1611343002: wtf reformat test Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: pydent Created 4 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 | « third_party/WebKit/Source/wtf/Compiler.h ('k') | third_party/WebKit/Source/wtf/ContainerAnnotations.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/ConditionalDestructor.h
diff --git a/third_party/WebKit/Source/wtf/ConditionalDestructor.h b/third_party/WebKit/Source/wtf/ConditionalDestructor.h
index fc6410dad322f549b2cb7aeb271b9fddc8102afe..e7caf3f7688e5e4dbb3fd21fcaacec22afd3573b 100644
--- a/third_party/WebKit/Source/wtf/ConditionalDestructor.h
+++ b/third_party/WebKit/Source/wtf/ConditionalDestructor.h
@@ -14,15 +14,14 @@ namespace WTF {
// the object has a trivial destructor.
// Note: the derived object MUST release all its recources at the finalize()
// method.
-template<typename Derived, bool noDestructor>
+template <typename Derived, bool noDestructor>
class ConditionalDestructor {
-public:
- ~ConditionalDestructor() { static_cast<Derived*>(this)->finalize(); }
+ public:
+ ~ConditionalDestructor() { static_cast<Derived*>(this)->finalize(); }
};
-template<typename Derived>
-class ConditionalDestructor<Derived, true> { };
-
+template <typename Derived>
+class ConditionalDestructor<Derived, true> {};
}
-#endif // ConditionalDestructor_h
+#endif // ConditionalDestructor_h
« no previous file with comments | « third_party/WebKit/Source/wtf/Compiler.h ('k') | third_party/WebKit/Source/wtf/ContainerAnnotations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698