Bug 1408261 - Update profiler tracing stuff to use the new macro. r?mstange
This code lost a landing race with
bug 1403868 and so got left behind.
MozReview-Commit-ID: 6qaeAYeFLvA
--- a/gfx/layers/wr/WebRenderBridgeParent.cpp
+++ b/gfx/layers/wr/WebRenderBridgeParent.cpp
@@ -626,17 +626,17 @@ WebRenderBridgeParent::RecvEmptyTransact
{
if (mDestroyed) {
for (const auto& op : aToDestroy) {
DestroyActor(op);
}
return IPC_OK();
}
- AutoProfilerTracing tracing("Paint", "EmptyTransaction");
+ AUTO_PROFILER_TRACING("Paint", "EmptyTransaction");
UpdateFwdTransactionId(aFwdTransactionId);
AutoClearReadLocks clearLocks(mReadLocks);
// This ensures that destroy operations are always processed. It is not safe
// to early-return without doing so.
AutoWebRenderBridgeParentAsyncMessageSender autoAsyncMessageSender(this, &aToDestroy);
if (!aCommands.IsEmpty()) {