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

Unified Diff: ppapi/cpp/extensions/dev/socket_dev.cc

Issue 13985026: Add a default constructor for VarArrayBuffer, so that it can be used by ext::DictField. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « ppapi/cpp/extensions/dev/socket_dev.h ('k') | ppapi/cpp/extensions/from_var_converter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/extensions/dev/socket_dev.cc
diff --git a/ppapi/cpp/extensions/dev/socket_dev.cc b/ppapi/cpp/extensions/dev/socket_dev.cc
index a2e88301b06299c5e768203873a890c5af7eaecb..735a328b5d22e44fa2bce19a4dd11367ce55f168 100644
--- a/ppapi/cpp/extensions/dev/socket_dev.cc
+++ b/ppapi/cpp/extensions/dev/socket_dev.cc
@@ -374,7 +374,7 @@ int32_t Socket_Dev::Read(
int32_t Socket_Dev::Write(
int32_t socket_id,
- const Var& data,
+ const VarArrayBuffer& data,
const CompletionCallbackWithOutput<WriteInfo_Dev>& callback) {
if (!has_interface<PPB_Ext_Socket_Dev_0_1>())
return callback.MayForce(PP_ERROR_NOINTERFACE);
@@ -410,7 +410,7 @@ int32_t Socket_Dev::RecvFrom(
int32_t Socket_Dev::SendTo(
int32_t socket_id,
- const Var& data,
+ const VarArrayBuffer& data,
const std::string& address,
int32_t port,
const CompletionCallbackWithOutput<WriteInfo_Dev>& callback) {
« no previous file with comments | « ppapi/cpp/extensions/dev/socket_dev.h ('k') | ppapi/cpp/extensions/from_var_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698