Commit 7c099ecf authored by Xiaohan Wang's avatar Xiaohan Wang Committed by Commit Bot

media: Remove crash_reporter::InitializeCrashKeys() call in CdmModule

This is not required now after
https://chromium-review.googlesource.com/c/chromium/src/+/802274

BUG=788937

Change-Id: I9a17610a9185a3a73fe59b3c0d64a35a13f8d41a
Reviewed-on: https://chromium-review.googlesource.com/809391Reviewed-by: default avatarRobert Sesek <rsesek@chromium.org>
Commit-Queue: Xiaohan Wang <xhwang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#522124}
parent 1608b461
...@@ -119,7 +119,7 @@ bool CdmModule::Initialize(const base::FilePath& cdm_path, ...@@ -119,7 +119,7 @@ bool CdmModule::Initialize(const base::FilePath& cdm_path,
#else #else
bool CdmModule::Initialize(const base::FilePath& cdm_path) { bool CdmModule::Initialize(const base::FilePath& cdm_path) {
#endif // BUILDFLAG(ENABLE_CDM_HOST_VERIFICATION) #endif // BUILDFLAG(ENABLE_CDM_HOST_VERIFICATION)
DVLOG(2) << __func__ << ": cdm_path = " << cdm_path.value(); DVLOG(1) << __func__ << ": cdm_path = " << cdm_path.value();
DCHECK(!was_initialize_called_); DCHECK(!was_initialize_called_);
was_initialize_called_ = true; was_initialize_called_ = true;
...@@ -167,9 +167,10 @@ bool CdmModule::Initialize(const base::FilePath& cdm_path) { ...@@ -167,9 +167,10 @@ bool CdmModule::Initialize(const base::FilePath& cdm_path) {
} }
// In case of crashes, provide CDM version to facilitate investigation. // In case of crashes, provide CDM version to facilitate investigation.
crash_reporter::InitializeCrashKeys();
static crash_reporter::CrashKeyString<32> cdm_version_key("cdm-version");
std::string cdm_version = get_cdm_version_func_(); std::string cdm_version = get_cdm_version_func_();
DVLOG(2) << __func__ << ": cdm_version = " << cdm_version;
static crash_reporter::CrashKeyString<32> cdm_version_key("cdm-version");
cdm_version_key.Set(cdm_version); cdm_version_key.Set(cdm_version);
#if defined(OS_WIN) #if defined(OS_WIN)
......
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