Bug 1368252 - Call GetLayerActivity() instead of directly looking up frame's LayerActivityProperty(). r=mats

This commit is contained in:
Jonathan Kew 2017-05-28 11:22:39 +01:00
parent c7c53d4a41
commit 9adc6c6cc5

View File

@ -197,7 +197,7 @@ GetLayerActivity(nsIFrame* aFrame)
static LayerActivity*
GetLayerActivityForUpdate(nsIFrame* aFrame)
{
LayerActivity* layerActivity = aFrame->GetProperty(LayerActivityProperty());
LayerActivity* layerActivity = GetLayerActivity(aFrame);
if (layerActivity) {
gLayerActivityTracker->MarkUsed(layerActivity);
} else {