Commit 8d0c9d22 authored by danakj's avatar danakj Committed by Commit Bot

Remove kForceDisplayColorProfile from PrepareBrowserCommandLineForBrowserTests

This switch is also set in BrowserTestBase, so the call here is a
duplicate, adding the switch a second time.

R=avi@chromium.org

Bug: 961849
Change-Id: Ie29bfe1be5d3b4da4ad00df078ee6f67c1e0fe15
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1671070Reviewed-by: default avatarAvi Drissman <avi@chromium.org>
Commit-Queue: danakj <danakj@chromium.org>
Cr-Commit-Position: refs/heads/master@{#671648}
parent 005563ec
......@@ -75,11 +75,6 @@ void PrepareBrowserCommandLineForBrowserTests(base::CommandLine* command_line,
// This is a Browser test.
command_line->AppendSwitchASCII(switches::kTestType, "browser");
// Some browser tests produce pixel results and compare them. Use an sRGB
// color profile to ensure that the machine's color profile does not affect
// the results.
command_line->AppendSwitchASCII(switches::kForceDisplayColorProfile, "srgb");
if (open_about_blank_on_launch && command_line->GetArgs().empty())
command_line->AppendArg(url::kAboutBlankURL);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment