Bug 1351114 Properly track display item layers in layer managers. r=mattwoodrow

This commit is contained in:
Mason Chang
2017-03-28 22:37:11 -07:00
parent 48a3fc93fd
commit 02db758087
7 changed files with 38 additions and 21 deletions

View File

@@ -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();
}