mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Bug 894288 - Prevent triggering an endless abort cycle when loading any tabs in the browser. r=BenWa
This commit is contained in:
parent
d8b9339e7a
commit
40cfac1eb1
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user