Add a missing null check

R=efortuna@google.com

Review URL: https://chromiumcodereview.appspot.com//65493002