Commit 7f0c7c09 authored by Xinghui Lu's avatar Xinghui Lu Committed by Commit Bot

Replace undefined with null in safe_browsing.js.

Bug: 1042984
Change-Id: I12c1287f42f39dfab883c2976b7c7ae39441cf7a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2005906Reviewed-by: default avatarDaniel Rubery <drubery@chromium.org>
Commit-Queue: Xinghui Lu <xinghuilu@chromium.org>
Cr-Commit-Position: refs/heads/master@{#732925}
parent 5511938c
......@@ -248,7 +248,7 @@ cr.define('safe_browsing', function() {
const token = result[0];
const request = result[1];
if ($(tableId + '-' + token) === undefined) {
if ($(tableId + '-' + token) === null) {
insertTokenToTable(tableId, token);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment