mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1368252 - Call GetLayerActivity() instead of directly looking up frame's LayerActivityProperty(). r=mats
This commit is contained in:
parent
c7c53d4a41
commit
9adc6c6cc5
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user