mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 958254 - Remove an unnecessary (and harmful) assertion. r=ajones
This commit is contained in:
parent
5b43d4d425
commit
07e8fc31bd
@ -590,7 +590,6 @@ TabChild::HandlePossibleViewportChange()
|
|||||||
// by AsyncPanZoomController and causes a blurry flash.
|
// by AsyncPanZoomController and causes a blurry flash.
|
||||||
bool isFirstPaint;
|
bool isFirstPaint;
|
||||||
nsresult rv = utils->GetIsFirstPaint(&isFirstPaint);
|
nsresult rv = utils->GetIsFirstPaint(&isFirstPaint);
|
||||||
MOZ_ASSERT(NS_SUCCEEDED(rv));
|
|
||||||
if (NS_FAILED(rv) || isFirstPaint) {
|
if (NS_FAILED(rv) || isFirstPaint) {
|
||||||
// FIXME/bug 799585(?): GetViewportInfo() returns a defaultZoom of
|
// FIXME/bug 799585(?): GetViewportInfo() returns a defaultZoom of
|
||||||
// 0.0 to mean "did not calculate a zoom". In that case, we default
|
// 0.0 to mean "did not calculate a zoom". In that case, we default
|
||||||
|
Loading…
Reference in New Issue
Block a user