зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1698600 - CSS animation profiler markers should also be added for animations that run to completion, r=birtles.
Differential Revision: https://phabricator.services.mozilla.com/D108493
This commit is contained in:
Родитель
0e334fd3d8
Коммит
12e6842434
|
@ -52,7 +52,8 @@ struct AnimationEventInfo {
|
|||
nsCSSPseudoElements::PseudoTypeAsString(aTarget.mPseudoType);
|
||||
|
||||
#ifdef MOZ_GECKO_PROFILER
|
||||
if (aMessage == eAnimationCancel && profiler_can_accept_markers()) {
|
||||
if ((aMessage == eAnimationCancel || aMessage == eAnimationEnd) &&
|
||||
profiler_can_accept_markers()) {
|
||||
nsCString markerText;
|
||||
aAnimationName->ToUTF8String(markerText);
|
||||
PROFILER_MARKER_TEXT(
|
||||
|
|
Загрузка…
Ссылка в новой задаче