No, it didn't. This tweet shows the original unedited video. There was a popup which explains why the news anchor (John King) looked a bit annoyed but it's unclear what the popup was, but definitely not Pornhub.
Also, check out these articles by Snopes and PolitiFact:
Was a Pornhub Logo Accidentally Displayed on CNN?
No, a porn site logo ...