Web Inspector: JSC Sampling Profiler thread not getting subtracted in CPU Usage Timeline
authorpecoraro@apple.com <pecoraro@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 30 Mar 2019 16:38:17 +0000 (16:38 +0000)
committerpecoraro@apple.com <pecoraro@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 30 Mar 2019 16:38:17 +0000 (16:38 +0000)
commit7c39f930e1d9cd9ae25f1f8a54c288afd2e93009
treea51eec54ff982b37f5c5c57bba88667d240f6b82
parente241f85c9dcf6422f191c88d05c0fa0b1bc93d43
Web Inspector: JSC Sampling Profiler thread not getting subtracted in CPU Usage Timeline
https://bugs.webkit.org/show_bug.cgi?id=196419
<rdar://problem/49444023>

Reviewed by Devin Rousso.

* page/ResourceUsageThread.cpp:
(WebCore::ResourceUsageThread::addObserver):
We forgot to call the function that would setup platform state
allowing us to subtract out the sampling profiler thread.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/page/ResourceUsageThread.cpp