Chess.com utilizes a variant on the USCF rules for insufficient material which does not include helpmates like FIDE does. Since white ran out of time, the site looks at the material that white has and normally, a lone knight cannot checkmate, so that is what they do.
USCF rules state it would be a loss by black because of the black pawns on the board (if I recall correctly). However, the outcome is correct by the rules that the site has implemented.
https://support.chess.com/customer/portal/articles/1444798 (last line)
I recently read GM Serper's article about if Arbiters really knew the rules to chess (http://www.chess.com/article/view/do-chess-arbiters-know-the-rules-of-chess). I thought it was interesting and learned a thing or two.
Then today I found out Chess.com doesn't know the rules!
My recent game http://www.chess.com/livechess/game?id=1179131981 is an example. That should be a loss for me (according to the article).
Through sufficient unskilled play, I should be able to reduce my Queen, Rook, and Two pawns vs knight to a K+N vs K+N endgame which was demonstrated to be a checkmatable possition in the article.
Which is it Chess.com?