Bug 1321617 - Tell the CrossProcessProfilerController whether a profile is a response to a GatherProfile request or whether it was sent because the process was exiting. r=mconley
MozReview-Commit-ID: BLkaeZqtRhv
This commit is contained in:
@@ -3261,11 +3261,12 @@ PluginModuleChromeParent::OnCrash(DWORD processID)
|
||||
#endif // MOZ_CRASHREPORTER_INJECTOR
|
||||
|
||||
mozilla::ipc::IPCResult
|
||||
PluginModuleChromeParent::RecvProfile(const nsCString& aProfile)
|
||||
PluginModuleChromeParent::RecvProfile(const nsCString& aProfile,
|
||||
const bool& aIsExitProfile)
|
||||
{
|
||||
#ifdef MOZ_GECKO_PROFILER
|
||||
if (mProfilerController) {
|
||||
mProfilerController->RecvProfile(aProfile);
|
||||
mProfilerController->RecvProfile(aProfile, aIsExitProfile);
|
||||
}
|
||||
#endif
|
||||
return IPC_OK();
|
||||
|
||||
Reference in New Issue
Block a user