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

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

Issue 1436153002: Apply clang-format with Chromium-style without column limit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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
Index: third_party/WebKit/Source/wtf/CurrentTime.h
diff --git a/third_party/WebKit/Source/wtf/CurrentTime.h b/third_party/WebKit/Source/wtf/CurrentTime.h
index c0489f5065c68fb619226e8db34f6aa6bff3c5d0..8a111a9367b90f6bfb4a064de85ec2952f97b7ee 100644
--- a/third_party/WebKit/Source/wtf/CurrentTime.h
+++ b/third_party/WebKit/Source/wtf/CurrentTime.h
@@ -42,9 +42,8 @@ namespace WTF {
WTF_EXPORT double currentTime();
// Same thing, in milliseconds.
-inline double currentTimeMS()
-{
- return currentTime() * 1000.0;
+inline double currentTimeMS() {
+ return currentTime() * 1000.0;
}
// Provides a monotonically increasing time in seconds since an arbitrary point in the past.
@@ -55,17 +54,16 @@ WTF_EXPORT double monotonicallyIncreasingTime();
// system.
WTF_EXPORT double systemTraceTime();
-typedef double(*TimeFunction)(void);
+typedef double (*TimeFunction)(void);
void setCurrentTimeFunction(TimeFunction);
WTF_EXPORT void setMonotonicallyIncreasingTimeFunction(TimeFunction);
void setSystemTraceTimeFunction(TimeFunction);
-
-} // namespace WTF
+} // namespace WTF
using WTF::currentTime;
using WTF::currentTimeMS;
using WTF::monotonicallyIncreasingTime;
using WTF::systemTraceTime;
-#endif // CurrentTime_h
+#endif // CurrentTime_h
« no previous file with comments | « third_party/WebKit/Source/wtf/CryptographicallyRandomNumber.cpp ('k') | third_party/WebKit/Source/wtf/CurrentTime.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698