Simplify IsRunningOnChromeOS() checks in pdf_unittests.
Consolidate the calls to base::SysInfo::IsRunningOnChromeOS(), which is only available when OS_CHROMEOS is defined, to PDFiumTestBase. Then all tests that are derived from PDFiumTestBase can just call PDFiumTestBase::IsRunningOnChromeOS() and avoid having #ifs. Change-Id: Id6da1b6b3db648ebb0dab121e48f525fd18266ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1764557Reviewed-by:Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/master@{#689572}
Showing
Please register or sign in to comment