Bug 1479173 - Rename LayerAnimationInto::mLayerType to LayerAnimationInfo::mDisplayitemType. r=birtles

In the case of WebRender there is no layers, but actually we'd been using it for
WebRender too, that's confusing.

Depends on D10689

Differential Revision: https://phabricator.services.mozilla.com/D10690
This commit is contained in:
Hiroyuki Ikezoe
2018-11-06 06:21:06 +00:00
parent f5a19b13e0
commit b82d4a50a3
3 changed files with 4 additions and 4 deletions

View File

@@ -1264,7 +1264,7 @@ KeyframeEffect::CanThrottle() const
// Note that AnimationInfo::GetGenarationFromFrame() is supposed to work
// with the primary frame instead of the style frame.
Maybe<uint64_t> generation = layers::AnimationInfo::GetGenerationFromFrame(
GetPrimaryFrame(), record.mLayerType);
GetPrimaryFrame(), record.mDisplayItemType);
// Unthrottle if the animation needs to be brought up to date
if (!generation || effectSet->GetAnimationGeneration() != *generation) {
return false;