| Index: sky/engine/wtf/text/StringImpl.cpp
|
| diff --git a/sky/engine/wtf/text/StringImpl.cpp b/sky/engine/wtf/text/StringImpl.cpp
|
| index 79d878d31f9d85f7636b28663f54d12d41670735..a2179e542ee36c4e6e5e82140a4850d4c578300f 100644
|
| --- a/sky/engine/wtf/text/StringImpl.cpp
|
| +++ b/sky/engine/wtf/text/StringImpl.cpp
|
| @@ -184,7 +184,7 @@ bool operator<(const RefPtr<PerStringStats>& a, const RefPtr<PerStringStats>& b)
|
| return a->m_numberOfAtomicCopies < b->m_numberOfAtomicCopies;
|
| }
|
|
|
| -static void printLiveStringStats(void*)
|
| +static void printLiveStringStats()
|
| {
|
| MutexLocker locker(statsMutex());
|
| HashSet<void*>& strings = liveStrings();
|
| @@ -255,7 +255,7 @@ void StringStats::printStats()
|
| double overheadPercent = (double)totalOverhead / (double)totalDataBytes * 100;
|
| dataLogF(" StringImpl overheader: %8u (%5.2f%%)\n", totalOverhead, overheadPercent);
|
|
|
| - callOnMainThread(printLiveStringStats, 0);
|
| + printLiveStringStats();
|
| }
|
| #endif
|
|
|
|
|