Test field trial group with startswith rather than equals.

BUG=webrtc:7266

Review-Url: https://codereview.webrtc.org/2717973005
Cr-Commit-Position: refs/heads/master@{#16915}
This commit is contained in:
sprang
2017-02-28 08:50:47 -08:00
committed by Commit bot
parent f8ee65ead6
commit c1b57a15bf
23 changed files with 42 additions and 46 deletions

View File

@ -22,7 +22,7 @@ namespace {
const char kHighProfileExperiment[] = "WebRTC-H264HighProfile";
bool IsHighProfileEnabled() {
return field_trial::FindFullName(kHighProfileExperiment) == "Enabled";
return field_trial::IsEnabled(kHighProfileExperiment);
}
}