PermissionStatus constant update

This commit is contained in:
Brian R. Bondy 2016-04-27 14:40:02 -04:00 committed by Cheng Zhao
parent 82f3bb26ce
commit 8a2aebd03f
3 changed files with 8 additions and 8 deletions

View file

@ -35,7 +35,7 @@ void OnPointerLockResponse(content::WebContents* web_contents, bool allowed) {
void OnPermissionResponse(const base::Callback<void(bool)>& callback,
content::PermissionStatus status) {
if (status == content::PERMISSION_STATUS_GRANTED)
if (status == content::PermissionStatus::GRANTED)
callback.Run(true);
else
callback.Run(false);