mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
Fix 2 logging calls I added today to also log the element and it's id, no bug, r=me
This commit is contained in:
parent
1d4714c9e2
commit
171fe60ac8
@ -3340,7 +3340,8 @@ nsDisplayOpacity::CanUseAsyncAnimations(nsDisplayListBuilder* aBuilder)
|
||||
if (nsLayoutUtils::IsAnimationLoggingEnabled()) {
|
||||
nsCString message;
|
||||
message.AppendLiteral("Performance warning: Async animation disabled because frame was not marked active for opacity animation");
|
||||
CommonElementAnimationData::LogAsyncAnimationFailure(message);
|
||||
CommonElementAnimationData::LogAsyncAnimationFailure(message,
|
||||
GetUnderlyingFrame()->GetContent());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
@ -3362,7 +3363,8 @@ nsDisplayTransform::ShouldPrerenderTransformedContent(nsDisplayListBuilder* aBui
|
||||
if (aLogAnimations) {
|
||||
nsCString message;
|
||||
message.AppendLiteral("Performance warning: Async animation disabled because frame was not marked active for transform animation");
|
||||
CommonElementAnimationData::LogAsyncAnimationFailure(message);
|
||||
CommonElementAnimationData::LogAsyncAnimationFailure(message,
|
||||
aFrame->GetContent());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user