From 017b37e3d0ccf775351b4fdb85b891691fd18a9e Mon Sep 17 00:00:00 2001 From: Timothy Nikkel Date: Wed, 25 Jun 2014 22:55:20 -0500 Subject: [PATCH] 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 --- layout/base/FrameLayerBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/base/FrameLayerBuilder.cpp b/layout/base/FrameLayerBuilder.cpp index 915fc6c2ce45..f2c9ea36a88e 100644 --- a/layout/base/FrameLayerBuilder.cpp +++ b/layout/base/FrameLayerBuilder.cpp @@ -3522,7 +3522,7 @@ FrameLayerBuilder::GetThebesLayerScaleForFrame(nsIFrame* aFrame) } nsTArray *array = - reinterpret_cast*>(aFrame->Properties().Get(LayerManagerDataProperty())); + reinterpret_cast*>(f->Properties().Get(LayerManagerDataProperty())); if (!array) { continue; }