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

Unified Diff: ppapi/proxy/ppb_instance_proxy.cc

Issue 179123009: Encrypted Media: Use uint32 for systemCode in SessionError. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments addressed Created 6 years, 10 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 | « ppapi/proxy/ppb_instance_proxy.h ('k') | ppapi/thunk/interfaces_ppb_private.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_instance_proxy.cc
diff --git a/ppapi/proxy/ppb_instance_proxy.cc b/ppapi/proxy/ppb_instance_proxy.cc
index 80715ada31fcc045df84229a95aa3fdfcf786be0..4c2cc9315f5a279848c63bf494a08067e6cae890 100644
--- a/ppapi/proxy/ppb_instance_proxy.cc
+++ b/ppapi/proxy/ppb_instance_proxy.cc
@@ -571,7 +571,7 @@ void PPB_Instance_Proxy::SessionClosed(PP_Instance instance,
void PPB_Instance_Proxy::SessionError(PP_Instance instance,
uint32_t session_id,
int32_t media_error,
- int32_t system_code) {
+ uint32_t system_code) {
dispatcher()->Send(new PpapiHostMsg_PPBInstance_SessionError(
API_ID_PPB_INSTANCE, instance, session_id, media_error, system_code));
}
@@ -1092,13 +1092,13 @@ void PPB_Instance_Proxy::OnHostMsgSessionClosed(PP_Instance instance,
void PPB_Instance_Proxy::OnHostMsgSessionError(PP_Instance instance,
uint32_t session_id,
int32_t media_error,
- int32_t system_error) {
+ uint32_t system_code) {
if (!dispatcher()->permissions().HasPermission(PERMISSION_PRIVATE))
return;
EnterInstanceNoLock enter(instance);
if (enter.succeeded()) {
enter.functions()->SessionError(
- instance, session_id, media_error, system_error);
+ instance, session_id, media_error, system_code);
}
}
« no previous file with comments | « ppapi/proxy/ppb_instance_proxy.h ('k') | ppapi/thunk/interfaces_ppb_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698