mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07: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
c540b78e4c
commit
17aa3f57ac
@ -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…
Reference in New Issue
Block a user