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

Unified Diff: Source/wtf/WTF.cpp

Issue 1190883003: Set HistogramEnumerationFunction even when Partitions are initialized (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « Source/wtf/Partitions.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/wtf/WTF.cpp
diff --git a/Source/wtf/WTF.cpp b/Source/wtf/WTF.cpp
index 8565c0111f02cbc93e6a3bc22cbb06cf19ab018a..e78528f60cf0b60ba34f9f873081b1e0061da4d4 100644
--- a/Source/wtf/WTF.cpp
+++ b/Source/wtf/WTF.cpp
@@ -53,7 +53,8 @@ void initialize(TimeFunction currentTimeFunction, TimeFunction monotonicallyIncr
setCurrentTimeFunction(currentTimeFunction);
setMonotonicallyIncreasingTimeFunction(monotonicallyIncreasingTimeFunction);
setSystemTraceTimeFunction(systemTraceTimeFunction);
- Partitions::initialize(histogramEnumerationFunction);
+ Partitions::initialize();
+ Partitions::setHistogramEnumeration(histogramEnumerationFunction);
ArrayBufferContents::setAdjustAmoutOfExternalAllocatedMemoryFunction(adjustAmountOfExternalAllocatedMemoryFunction);
initializeThreading();
}
« no previous file with comments | « Source/wtf/Partitions.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698