Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Unified Diff: trunk/src/media/base/audio_video_metadata_extractor.cc

Issue 474483002: Revert 289312 "Move StringToUpperASCII and LowerCaseEqualsASCII ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: trunk/src/media/base/audio_video_metadata_extractor.cc
===================================================================
--- trunk/src/media/base/audio_video_metadata_extractor.cc (revision 289319)
+++ trunk/src/media/base/audio_video_metadata_extractor.cc (working copy)
@@ -23,7 +23,7 @@
// Returns true if the |tag| matches |expected_key|.
bool ExtractString(AVDictionaryEntry* tag, const char* expected_key,
std::string* destination) {
- if (!base::LowerCaseEqualsASCII(tag->key, expected_key))
+ if (!LowerCaseEqualsASCII(std::string(tag->key), expected_key))
return false;
if (destination->empty())
@@ -35,7 +35,7 @@
// Returns true if the |tag| matches |expected_key|.
bool ExtractInt(AVDictionaryEntry* tag, const char* expected_key,
int* destination) {
- if (!base::LowerCaseEqualsASCII(tag->key, expected_key))
+ if (!LowerCaseEqualsASCII(std::string(tag->key), expected_key))
return false;
int temporary = -1;

Powered by Google App Engine
This is Rietveld 408576698