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

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

Issue 1550563002: Blink Platform: Remove time functions from Platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/WTF.h
diff --git a/third_party/WebKit/Source/wtf/WTF.h b/third_party/WebKit/Source/wtf/WTF.h
index 4f5454972df7c2c9c5a98d33d72319d63b856a77..acf065ec55b181ee924e1a5b445dff70c9c5e95b 100644
--- a/third_party/WebKit/Source/wtf/WTF.h
+++ b/third_party/WebKit/Source/wtf/WTF.h
@@ -32,7 +32,6 @@
#define WTF_h
#include "wtf/Compiler.h"
-#include "wtf/CurrentTime.h"
#include "wtf/WTFExport.h"
namespace WTF {
@@ -41,7 +40,7 @@ typedef void(*HistogramEnumerationFunction)(const char* name, int sample, int bo
typedef void(*AdjustAmountOfExternalAllocatedMemoryFunction)(int size);
// This function must be called exactly once from the main thread before using anything else in WTF.
-WTF_EXPORT void initialize(TimeFunction currentTimeFunction, TimeFunction monotonicallyIncreasingTimeFunction, TimeFunction systemTraceTimeFunction, HistogramEnumerationFunction, AdjustAmountOfExternalAllocatedMemoryFunction);
+WTF_EXPORT void initialize(HistogramEnumerationFunction, AdjustAmountOfExternalAllocatedMemoryFunction);
WTF_EXPORT void shutdown();
WTF_EXPORT bool isShutdown();

Powered by Google App Engine
This is Rietveld 408576698