Fix naming and formatting

This commit is contained in:
rreimann 2017-05-22 09:08:47 +02:00 committed by Kevin Sawicki
parent 791486433d
commit 25015c4c63
3 changed files with 6 additions and 9 deletions

View file

@ -207,7 +207,7 @@ void WebContentsPreferences::AppendExtraCommandLineSwitches(
}
bool WebContentsPreferences::IsPreferenceEnabled(
const std::string& attributeName,
const std::string& attribute_name,
content::WebContents* web_contents) {
WebContentsPreferences* self;
if (!web_contents)
@ -218,9 +218,9 @@ bool WebContentsPreferences::IsPreferenceEnabled(
return false;
base::DictionaryValue& web_preferences = self->web_preferences_;
bool boolValue = false;
web_preferences.GetBoolean(attributeName, &boolValue);
return boolValue;
bool bool_value = false;
web_preferences.GetBoolean(attribute_name, &bool_value);
return bool_value;
}
bool WebContentsPreferences::IsSandboxed(content::WebContents* web_contents) {