Before agreeing to buy mobile messaging startup WhatsApp for an eye-popping $19 billion, Facebook Inc. likely eyed two patent cases pending in Delaware and Bay Area federal courts.

TriPlay Inc., represented by Greenberg Traurig, accuses WhatsApp of violating patented technology for communicating between devices where the message format from the sender is converted to facilitate delivery to the recipient.