Bug 958254 - Remove an unnecessary (and harmful) assertion. r=ajones

This commit is contained in:
Botond Ballo 2014-01-09 16:54:34 -05:00
parent 5b43d4d425
commit 07e8fc31bd

View File

@ -590,7 +590,6 @@ TabChild::HandlePossibleViewportChange()
// by AsyncPanZoomController and causes a blurry flash.
bool isFirstPaint;
nsresult rv = utils->GetIsFirstPaint(&isFirstPaint);
MOZ_ASSERT(NS_SUCCEEDED(rv));
if (NS_FAILED(rv) || isFirstPaint) {
// FIXME/bug 799585(?): GetViewportInfo() returns a defaultZoom of
// 0.0 to mean "did not calculate a zoom". In that case, we default