Chromium Code Reviews
DescriptionContent test launcher: Initialize globals to nullptr
g_launcher_delegate and g_params in content/public/test/test_launcher.cc
were both uninitialized. This sometimes caused the
DCHECK(!g_launcher_delegate) in LaunchTests to fail, since the
uninitialized memory wasn't necessarily zero!
In particular, this has caused significant flakiness in
content_browsertests on Lollipop Tablet Tester starting from
https://build.chromium.org/p/chromium.android/builders/Lollipop%20Tablet%20Tester/builds/7234
Presumably something changed between
6019ce8862dbf9acbc4b2a6b42849657002f3b41 {#458098} and
f6108b39ff0fa823e85bada2e56dbf89d4f9acad {#458116} which happens to
alter the uninitialized memory.
BUG=none
NOTRY=true
SKIPTREECHECKS=true
TBR=jam@chromium.org
Review-Url: https://codereview.chromium.org/2762173002
Cr-Commit-Position: refs/heads/master@{#458396}
Committed: https://chromium.googlesource.com/chromium/src/+/f41cd022151ab7afea8ccbf411132984965cd6b9
Patch Set 1 #
Messages
Total messages: 12 (7 generated)
|
|||||||||||||||||||