DescriptionRemove redundant GetPermissionType call in ~ScopedRevocationReporter
The GetPermissionType call in ~ScopedRevocationReporter checks whether
the given type has an associated PermissionType, but doesn't make use of
the PermissionType value. The guarded function, PermissionRevoked, has a
stricter check (notifications, geolocation, mic or camera), so there's
no reason to actually call GetPermissionType.
BUG=689799
Review-Url: https://codereview.chromium.org/2707383004
Cr-Commit-Position: refs/heads/master@{#452416}
Committed: https://chromium.googlesource.com/chromium/src/+/a5284b9c11fb616ff61bc3343584409cf1e558fa
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|