Initialize guest_instance_id
This commit is contained in:
parent
75754804af
commit
4e44900930
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ void WebContentsPreferences::AppendExtraCommandLineSwitches(
|
|||
base::DoubleToString(zoom_factor));
|
||||
|
||||
// --guest-instance-id, which is used to identify guest WebContents.
|
||||
int guest_instance_id;
|
||||
int guest_instance_id = 0;
|
||||
if (web_preferences.GetInteger(options::kGuestInstanceID, &guest_instance_id))
|
||||
command_line->AppendSwitchASCII(switches::kGuestInstanceID,
|
||||
base::IntToString(guest_instance_id));
|
||||
|
|
Loading…
Reference in a new issue