web_prefrences() => dict()
Having property name being the same with class name is making code harder to understand, and dict is much shorter.
This commit is contained in:
parent
d323ce2c42
commit
9772777919
6 changed files with 38 additions and 32 deletions
|
@ -1373,7 +1373,7 @@ void NativeWindowViews::ShowAutofillPopup(
|
|||
auto* web_contents_preferences =
|
||||
WebContentsPreferences::FromWebContents(web_contents);
|
||||
if (web_contents_preferences) {
|
||||
const auto* web_preferences = web_contents_preferences->web_preferences();
|
||||
const auto* web_preferences = web_contents_preferences->dict();
|
||||
|
||||
web_preferences->GetBoolean("offscreen", &is_offsceen);
|
||||
int guest_instance_id = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue