bug 851674: content: nsContentUtils::CheckForSubFrameDrop: don't dereference null pointer (r=smaug)