DescriptionInitialize |switch_profile_link_| in the constructor.
This should fix the use of the uninitialized value in the LinkClicked() method.
Currently, the variable is only initialized for supervised user profiles,
but LinkClicked() is also called for other profiles.
BUG=422482
Committed: https://crrev.com/d3319ba3dc0c86b3c64e1fd4b11f4429de52b8db
Cr-Commit-Position: refs/heads/master@{#299672}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Use nullptr. #Messages
Total messages: 8 (2 generated)
|