DescriptionIsAccessWhiteListed(): avoid unnecessary stringification.
The origin whitelist may well be empty, so check that first
before taking on the stringification of the security origin.
R=
BUG=
Review-Url: https://codereview.chromium.org/2855133005
Cr-Commit-Position: refs/heads/master@{#469300}
Committed: https://chromium.googlesource.com/chromium/src/+/b6bec5fd85d27f68ba6ecdee9217ee0638e391ab
Patch Set 1 #
Messages
Total messages: 13 (9 generated)
|