Bug 1030370. We should be looking at the layer data for the frame we are looping over in the loop, not the starting frame each time in FrameLayerBuilder::GetThebesLayerScaleForFrame. r=mattwoodrow

This commit is contained in:
Timothy Nikkel 2014-06-25 22:55:20 -05:00
Родитель 418fcf0ab2
Коммит 017b37e3d0
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -3522,7 +3522,7 @@ FrameLayerBuilder::GetThebesLayerScaleForFrame(nsIFrame* aFrame)
}
nsTArray<DisplayItemData*> *array =
reinterpret_cast<nsTArray<DisplayItemData*>*>(aFrame->Properties().Get(LayerManagerDataProperty()));
reinterpret_cast<nsTArray<DisplayItemData*>*>(f->Properties().Get(LayerManagerDataProperty()));
if (!array) {
continue;
}