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

Unified Diff: native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.cc

Issue 242533005: [NaCl SDK] nacl_io: Add flow control the JavaScript pipes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.cc b/native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.cc
index 6056bbc2ba93c92a41764b27ba2a49bf5d660b95..3b5f44ce56b9a55f278f4776c9f08833cb4a9b72 100644
--- a/native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.cc
+++ b/native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.cc
@@ -330,11 +330,11 @@ Error DevFs::Init(const FsInitArgs& args) {
INITIALIZE_DEV_NODE_1("/stdout", RealNode, 1);
INITIALIZE_DEV_NODE_1("/stderr", RealNode, 2);
INITIALIZE_DEV_NODE("/jspipe1", JSPipeNode);
- new_node->Ioctl(TIOCNACLPIPENAME, "jspipe1");
+ new_node->Ioctl(NACL_IOC_PIPE_SETNAME, "jspipe1");
INITIALIZE_DEV_NODE("/jspipe2", JSPipeNode);
- new_node->Ioctl(TIOCNACLPIPENAME, "jspipe2");
+ new_node->Ioctl(NACL_IOC_PIPE_SETNAME, "jspipe2");
INITIALIZE_DEV_NODE("/jspipe3", JSPipeNode);
- new_node->Ioctl(TIOCNACLPIPENAME, "jspipe3");
+ new_node->Ioctl(NACL_IOC_PIPE_SETNAME, "jspipe3");
return 0;
}

Powered by Google App Engine
This is Rietveld 408576698