зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1245950: Followup to null check before asserting. r=me CLOSED TREE
This commit is contained in:
Родитель
ddcc30c564
Коммит
730d44a1af
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче