-
kmccullough@apple.com authored
2008-09-03 Kevin McCullough <kmccullough@apple.com> Reviewed by Tim. Remove the rest of the "zombie" code from the profiler. - There is no longer a need for the ProfilerClient callback mechanism. * API/JSProfilerPrivate.cpp: (JSStartProfiling): * JavaScriptCore.exp: * profiler/HeavyProfile.h: * profiler/ProfileGenerator.cpp: (KJS::ProfileGenerator::create): (KJS::ProfileGenerator::ProfileGenerator): * profiler/ProfileGenerator.h: (KJS::ProfileGenerator::profileGroup): * profiler/Profiler.cpp: (KJS::Profiler::startProfiling): (KJS::Profiler::stopProfiling): Immediately return the profile when stopped instead of using a callback. * profiler/Profiler.h: * profiler/TreeProfile.h: WebCore: 2008-09-03 Kevin McCullough <kmccullough@apple.com> Reviewed by Tim. Remove the rest of the "zombie" code from the profiler. - There is no longer a need for the ProfilerClient callback mechanism. * page/Console.cpp: (WebCore::Console::Console): (WebCore::Console::profile): (WebCore::Console::profileEnd): Move the variables from the header to here since we don't have to wait for a callback to use them. * page/Console.h: * page/InspectorController.cpp: (WebCore::InspectorController::startUserInitiatedProfiling): (WebCore::InspectorController::stopUserInitiatedProfiling): * page/InspectorController.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@36068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
b0f4c622