Bug 894288 - Prevent triggering an endless abort cycle when loading any tabs in the browser. r=BenWa

This commit is contained in:
Kartikaya Gupta 2013-07-25 14:54:26 -04:00
parent d8b9339e7a
commit 40cfac1eb1

View File

@ -1542,7 +1542,9 @@ TabChild::ProcessUpdateFrame(const FrameMetrics& aFrameMetrics)
* ScreenToLayerScale(1);
utils->SetResolution(resolution.scale, resolution.scale);
SetDisplayPort(aFrameMetrics);
if (aFrameMetrics.mScrollId != FrameMetrics::NULL_SCROLL_ID) {
SetDisplayPort(aFrameMetrics);
}
mLastMetrics = aFrameMetrics;