зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1510900 - Include URL in GPU process crash reports. r=jrmuizel,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D14912 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
b41b05810e
Коммит
cd30ae3517
|
@ -13,6 +13,7 @@
|
|||
#include "GeckoProfiler.h"
|
||||
#include "GLContext.h"
|
||||
#include "GLContextProvider.h"
|
||||
#include "nsExceptionHandler.h"
|
||||
#include "mozilla/Range.h"
|
||||
#include "mozilla/layers/AnimationHelper.h"
|
||||
#include "mozilla/layers/APZSampler.h"
|
||||
|
@ -912,6 +913,10 @@ mozilla::ipc::IPCResult WebRenderBridgeParent::RecvSetDisplayList(
|
|||
return IPC_OK();
|
||||
}
|
||||
|
||||
if (!IsRootWebRenderBridgeParent()) {
|
||||
CrashReporter::AnnotateCrashReport(CrashReporter::Annotation::URL, aTxnURL);
|
||||
}
|
||||
|
||||
AUTO_PROFILER_TRACING("Paint", "SetDisplayList");
|
||||
UpdateFwdTransactionId(aFwdTransactionId);
|
||||
|
||||
|
@ -1032,6 +1037,10 @@ mozilla::ipc::IPCResult WebRenderBridgeParent::RecvEmptyTransaction(
|
|||
return IPC_OK();
|
||||
}
|
||||
|
||||
if (!IsRootWebRenderBridgeParent()) {
|
||||
CrashReporter::AnnotateCrashReport(CrashReporter::Annotation::URL, aTxnURL);
|
||||
}
|
||||
|
||||
AUTO_PROFILER_TRACING("Paint", "EmptyTransaction");
|
||||
UpdateFwdTransactionId(aFwdTransactionId);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче