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

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

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/CurrentTime.h ('k') | third_party/WebKit/Source/wtf/DataLog.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/CurrentTime.cpp
diff --git a/third_party/WebKit/Source/wtf/CurrentTime.cpp b/third_party/WebKit/Source/wtf/CurrentTime.cpp
index c29636f98c9cc551ec735476ecca99893408a8a3..7a41b0ee832bf0f6603f3c24f0818947ec3963c8 100644
--- a/third_party/WebKit/Source/wtf/CurrentTime.cpp
+++ b/third_party/WebKit/Source/wtf/CurrentTime.cpp
@@ -35,24 +35,20 @@ namespace WTF {
static TimeFunction currentTimeFunction;
static TimeFunction monotonicallyIncreasingTimeFunction;
-void setCurrentTimeFunction(TimeFunction func)
-{
- currentTimeFunction = func;
+void setCurrentTimeFunction(TimeFunction func) {
+ currentTimeFunction = func;
}
-void setMonotonicallyIncreasingTimeFunction(TimeFunction func)
-{
- monotonicallyIncreasingTimeFunction = func;
+void setMonotonicallyIncreasingTimeFunction(TimeFunction func) {
+ monotonicallyIncreasingTimeFunction = func;
}
-double currentTime()
-{
- return (*currentTimeFunction)();
+double currentTime() {
+ return (*currentTimeFunction)();
}
-double monotonicallyIncreasingTime()
-{
- return (*monotonicallyIncreasingTimeFunction)();
+double monotonicallyIncreasingTime() {
+ return (*monotonicallyIncreasingTimeFunction)();
}
-} // namespace WTF
+} // namespace WTF
« no previous file with comments | « third_party/WebKit/Source/wtf/CurrentTime.h ('k') | third_party/WebKit/Source/wtf/DataLog.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698