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

Unified Diff: ppapi/proxy/serialized_var.cc

Issue 10828023: PPAPI/NaCl: Make NaClIPCAdapter transfer handles more generally (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re-add gyp files Created 8 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
« no previous file with comments | « ppapi/proxy/serialized_structs.cc ('k') | ppapi/shared_impl/host_resource.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/serialized_var.cc
diff --git a/ppapi/proxy/serialized_var.cc b/ppapi/proxy/serialized_var.cc
index e648406a5730647069239699f67b541392d3809a..ad416db24dac220a56c43acb05ea19982a4f54e8 100644
--- a/ppapi/proxy/serialized_var.cc
+++ b/ppapi/proxy/serialized_var.cc
@@ -249,7 +249,8 @@ void SerializedVar::Inner::ConvertRawVarData() {
}
case PP_VARTYPE_ARRAY_BUFFER: {
var_ = PpapiGlobals::Get()->GetVarTracker()->MakeArrayBufferPPVar(
- raw_var_data_->data.size(), raw_var_data_->data.data());
+ static_cast<uint32>(raw_var_data_->data.size()),
+ raw_var_data_->data.data());
break;
}
default:
« no previous file with comments | « ppapi/proxy/serialized_structs.cc ('k') | ppapi/shared_impl/host_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698