mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 797520; improve OMTA logging. r=cjones
--HG-- extra : rebase_source : 25adf63183d996433b9b6b68ccf195820f662ca1
This commit is contained in:
parent
95efdb86e0
commit
d527e663a1
@ -282,8 +282,8 @@ CommonElementAnimationData::CanAnimatePropertyOnCompositor(const dom::Element *a
|
||||
if (shouldLog) {
|
||||
nsCString message;
|
||||
message.AppendLiteral("Performance warning: Async animation of geometric property '");
|
||||
message.Append(aProperty);
|
||||
message.AppendLiteral(" is disabled");
|
||||
message.Append(nsCSSProps::GetStringValue(aProperty));
|
||||
message.AppendLiteral("' is disabled");
|
||||
LogAsyncAnimationFailure(message, aElement);
|
||||
}
|
||||
return false;
|
||||
@ -350,6 +350,7 @@ CommonElementAnimationData::LogAsyncAnimationFailure(nsCString& aMessage,
|
||||
}
|
||||
aMessage.AppendLiteral("]");
|
||||
}
|
||||
aMessage.AppendLiteral("\n");
|
||||
printf_stderr(aMessage.get());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user