Bug 1351114 Properly track display item layers in layer managers. r=mattwoodrow
This commit is contained in:
@@ -76,7 +76,6 @@ BasicLayerManager::CreateDisplayItemLayer()
|
||||
{
|
||||
NS_ASSERTION(InConstruction(), "Only allowed in construction phase");
|
||||
RefPtr<DisplayItemLayer> layer = new BasicDisplayItemLayer(this);
|
||||
mDisplayItemLayers.AppendElement(layer);
|
||||
return layer.forget();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user