Bug 1245950: Followup to null check before asserting. r=me CLOSED TREE

This commit is contained in:
Kyle Huey 2016-02-05 12:24:54 -08:00
Родитель ddcc30c564
Коммит 730d44a1af
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -10655,7 +10655,7 @@ nsIDocument::CreateTouch(nsGlobalWindow* aView,
float aRotationAngle,
float aForce)
{
MOZ_ASSERT(aView->IsInnerWindow());
MOZ_ASSERT_IF(aView, aView->IsInnerWindow());
RefPtr<Touch> touch = new Touch(aTarget,
aIdentifier,
aPageX, aPageY,