DescriptionFix the crash of DisplayErrorDialog.
The reported crash happens due to the lack of context. Also I noticed
that it'll crash if the dialog happens to appear in single-display
environment. Added the fix for this too.
Also added test cases to ensure the code doesn't crash.
BUG=174462
TEST=ash_unittests passes
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180887
Patch Set 1 #
Total comments: 6
Patch Set 2 : fix #
Total comments: 2
Patch Set 3 : #
Messages
Total messages: 10 (0 generated)
|