Commit c4c6fa11 authored by Emilio Cobos Alvarez's avatar Emilio Cobos Alvarez
Browse files

Bug 1663426 - Add a null-check to SetDocumentInternal. r=bobowen, a=RyanVM

This shouldn't generally happen, but seems it can under some circumstances and
even though I've fixed the error condition that triggers this a null-check here is harmless.

Differential Revision:
parent e5a53bb9
......@@ -1855,7 +1855,7 @@ nsDocumentViewer::SetDocumentInternal(Document* aDocument,
if (mDocument->IsStaticDocument()) {
if (mDocument && mDocument->IsStaticDocument()) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment