Remove an old hack from test_main_lib.cc.

Bug: webrtc:9792
Change-Id: I0464f08bcc023dcbcaec595fc9ebb5bfe0736f68
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/155441
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29376}
This commit is contained in:
Patrik Höglund 2019-10-03 11:32:30 +02:00 committed by Commit Bot
parent 0429f78992
commit 5114a927aa

View File

@ -124,13 +124,6 @@ class TestMainImpl : public TestMain {
rtc::tracing::StartInternalCapture(trace_event_path.c_str());
}
// TODO(bugs.webrtc.org/9792): we need to reference something from
// fileutils.h so that our downstream hack where we replace fileutils.cc
// works. Otherwise the downstream flag implementation will take over and
// botch the flag introduced by the hack. Remove this awful thing once the
// downstream implementation has been eliminated.
(void)webrtc::test::JoinFilename("horrible", "hack");
// InitFieldTrialsFromString stores the char*, so the char array must
// outlive the application.
field_trials_ = absl::GetFlag(FLAGS_force_fieldtrials);