diff options
author | ycheo@chromium.org <ycheo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-11 01:26:51 +0000 |
---|---|---|
committer | ycheo@chromium.org <ycheo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-11 01:26:51 +0000 |
commit | 2b025590d29b2c4d9cc25a4fd1705ce00ba1ff31 (patch) | |
tree | 24cde54c1d618a94d9d5570a95394da7b0a17cad /components/cdm | |
parent | 73e3bf317ab4dc9b6a059ccc93ba83bb8145a215 (diff) | |
download | chromium_src-2b025590d29b2c4d9cc25a4fd1705ce00ba1ff31.zip chromium_src-2b025590d29b2c4d9cc25a4fd1705ce00ba1ff31.tar.gz chromium_src-2b025590d29b2c4d9cc25a4fd1705ce00ba1ff31.tar.bz2 |
Fix the compile error for win64: widevine_key_systems.cc.
BUG=372069
Review URL: https://codereview.chromium.org/280063002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269677 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/cdm')
-rw-r--r-- | components/cdm/renderer/widevine_key_systems.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/components/cdm/renderer/widevine_key_systems.cc b/components/cdm/renderer/widevine_key_systems.cc index d42ec7d..c913fe0 100644 --- a/components/cdm/renderer/widevine_key_systems.cc +++ b/components/cdm/renderer/widevine_key_systems.cc @@ -23,9 +23,9 @@ namespace cdm { // Return |name|'s parent key system. static std::string GetDirectParentName(std::string name) { - int last_period = name.find_last_of('.'); - DCHECK_GT(last_period, 0); - return name.substr(0, last_period); + size_t last_period = name.find_last_of('.'); + DCHECK_GT(last_period, 0u); + return name.substr(0u, last_period); } void AddWidevineWithCodecs(WidevineCdmType widevine_cdm_type, |