зеркало из https://github.com/mozilla/gecko-dev.git
Bug 958254 - Remove an unnecessary (and harmful) assertion. r=ajones
This commit is contained in:
Родитель
39a69e390d
Коммит
b01b3d73a3
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче