Content settings infrastructure: fix crash on desktop due to api change
This commit is contained in:
@@ -1049,7 +1049,7 @@ diff --git a/chrome/browser/ui/views/page_info/permission_toggle_row_view.cc b/c
|
||||
+ permission_.setting = CONTENT_SETTING_ASK;
|
||||
+ break;
|
||||
+ case 4:
|
||||
+ permission_.setting = CONTENT_SETTING_DEFAULT;
|
||||
+ permission_.setting = std::nullopt;
|
||||
+ break;
|
||||
+ }
|
||||
+ PermissionChanged();
|
||||
|
||||
Reference in New Issue
Block a user