| Index: chrome/browser/load_library_perf_test.cc
|
| diff --git a/chrome/browser/load_library_perf_test.cc b/chrome/browser/load_library_perf_test.cc
|
| index bf128f686bc72984e8a70b18d9a86a509d91cf34..3b49e6a03e12bd428917671b6d7a3c4dfd9edf33 100644
|
| --- a/chrome/browser/load_library_perf_test.cc
|
| +++ b/chrome/browser/load_library_perf_test.cc
|
| @@ -13,13 +13,12 @@
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/time/time.h"
|
| #include "build/build_config.h"
|
| -#include "ppapi/features/features.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "testing/perf/perf_test.h"
|
|
|
| #include "widevine_cdm_version.h" // In SHARED_INTERMEDIATE_DIR.
|
|
|
| -#if BUILDFLAG(ENABLE_PEPPER_CDMS)
|
| +#if defined(ENABLE_PEPPER_CDMS)
|
| #include "chrome/browser/media/pepper_cdm_test_constants.h"
|
| #include "media/cdm/cdm_paths.h"
|
| #endif
|
| @@ -61,7 +60,7 @@
|
| true);
|
| }
|
|
|
| -#if BUILDFLAG(ENABLE_PEPPER_CDMS)
|
| +#if defined(ENABLE_PEPPER_CDMS)
|
|
|
| void MeasureSizeAndTimeToLoadCdm(const std::string& cdm_base_dir,
|
| const std::string& cdm_name) {
|
| @@ -70,11 +69,11 @@
|
| base::FilePath::FromUTF8Unsafe(cdm_name));
|
| }
|
|
|
| -#endif // BUILDFLAG(ENABLE_PEPPER_CDMS)
|
| +#endif // defined(ENABLE_PEPPER_CDMS)
|
|
|
| } // namespace
|
|
|
| -#if BUILDFLAG(ENABLE_PEPPER_CDMS)
|
| +#if defined(ENABLE_PEPPER_CDMS)
|
| #if defined(WIDEVINE_CDM_AVAILABLE)
|
| TEST(LoadCDMPerfTest, Widevine) {
|
| MeasureSizeAndTimeToLoadCdm(
|
| @@ -98,4 +97,4 @@
|
| MeasureSizeAndTimeToLoadCdm(kClearKeyCdmBaseDirectory,
|
| kClearKeyCdmAdapterFileName);
|
| }
|
| -#endif // BUILDFLAG(ENABLE_PEPPER_CDMS)
|
| +#endif // defined(ENABLE_PEPPER_CDMS)
|
|
|