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

Unified Diff: third_party/WebKit/Source/wtf/CurrentTime.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
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 e41ccad8755e3803efcb9a4f8cedc4c3e53cdd02..1e2863e3569843352f38e238da41f62b993f6ebe 100644
--- a/third_party/WebKit/Source/wtf/CurrentTime.h
+++ b/third_party/WebKit/Source/wtf/CurrentTime.h
@@ -42,23 +42,22 @@ 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.
// On unsupported platforms, this function only guarantees the result will be non-decreasing.
WTF_EXPORT double monotonicallyIncreasingTime();
-typedef double(*TimeFunction)(void);
+typedef double (*TimeFunction)(void);
void setCurrentTimeFunction(TimeFunction);
WTF_EXPORT void setMonotonicallyIncreasingTimeFunction(TimeFunction);
-} // namespace WTF
+} // namespace WTF
using WTF::currentTime;
using WTF::currentTimeMS;
using WTF::monotonicallyIncreasingTime;
-#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