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

Unified Diff: webkit/plugins/ppapi/content_decryptor_delegate.cc

Issue 13145003: Rewrite std::string("") to std::string(), Linux edition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ugh Created 7 years, 8 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
« no previous file with comments | « webkit/media/crypto/proxy_decryptor.cc ('k') | webkit/quota/quota_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/content_decryptor_delegate.cc
diff --git a/webkit/plugins/ppapi/content_decryptor_delegate.cc b/webkit/plugins/ppapi/content_decryptor_delegate.cc
index 8515531f18b49b61642e1e662dec8e3be2fe215a..5e3a64987d630ff1648581a32cda3afc77dab707 100644
--- a/webkit/plugins/ppapi/content_decryptor_delegate.cc
+++ b/webkit/plugins/ppapi/content_decryptor_delegate.cc
@@ -627,7 +627,8 @@ void ContentDecryptorDelegate::KeyAdded(PP_Var key_system_var,
StringVar* key_system_string = StringVar::FromPPVar(key_system_var);
StringVar* session_id_string = StringVar::FromPPVar(session_id_var);
if (!key_system_string || !session_id_string) {
- key_error_cb_.Run("", "", media::Decryptor::kUnknownError, 0);
+ key_error_cb_.Run(
+ std::string(), std::string(), media::Decryptor::kUnknownError, 0);
return;
}
@@ -656,7 +657,8 @@ void ContentDecryptorDelegate::KeyMessage(PP_Var key_system_var,
StringVar* default_url_string = StringVar::FromPPVar(default_url_var);
if (!key_system_string || !session_id_string || !default_url_string) {
- key_error_cb_.Run("", "", media::Decryptor::kUnknownError, 0);
+ key_error_cb_.Run(
+ std::string(), std::string(), media::Decryptor::kUnknownError, 0);
return;
}
@@ -676,7 +678,8 @@ void ContentDecryptorDelegate::KeyError(PP_Var key_system_var,
StringVar* key_system_string = StringVar::FromPPVar(key_system_var);
StringVar* session_id_string = StringVar::FromPPVar(session_id_var);
if (!key_system_string || !session_id_string) {
- key_error_cb_.Run("", "", media::Decryptor::kUnknownError, 0);
+ key_error_cb_.Run(
+ std::string(), std::string(), media::Decryptor::kUnknownError, 0);
return;
}
« no previous file with comments | « webkit/media/crypto/proxy_decryptor.cc ('k') | webkit/quota/quota_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698