зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1328373 (part 1) - Remove mozilla_sampler_save. r=mstange.
It's unused. --HG-- extra : rebase_source : ae05fc3bb205833e86f542ad2eba36de4d71b3b4
This commit is contained in:
Родитель
a0ab21e630
Коммит
5fa7607c99
|
@ -607,19 +607,6 @@ void mozilla_sampler_shutdown()
|
|||
#endif
|
||||
}
|
||||
|
||||
void mozilla_sampler_save()
|
||||
{
|
||||
GeckoSampler *t = tlsTicker.get();
|
||||
if (!t) {
|
||||
return;
|
||||
}
|
||||
|
||||
t->RequestSave();
|
||||
// We're on the main thread already so we don't
|
||||
// have to wait to handle the save request.
|
||||
t->HandleSaveRequest();
|
||||
}
|
||||
|
||||
mozilla::UniquePtr<char[]> mozilla_sampler_get_profile(double aSinceTime)
|
||||
{
|
||||
GeckoSampler *t = tlsTicker.get();
|
||||
|
|
|
@ -61,8 +61,6 @@ void mozilla_sampler_frame_number(int frameNumber);
|
|||
|
||||
const double* mozilla_sampler_get_responsiveness();
|
||||
|
||||
void mozilla_sampler_save();
|
||||
|
||||
mozilla::UniquePtr<char[]> mozilla_sampler_get_profile(double aSinceTime);
|
||||
|
||||
JSObject *mozilla_sampler_get_profile_data(JSContext* aCx, double aSinceTime);
|
||||
|
|
Загрузка…
Ссылка в новой задаче