summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/libraries/nacl_mounts/mount_html5fs.cc
diff options
context:
space:
mode:
Diffstat (limited to 'native_client_sdk/src/libraries/nacl_mounts/mount_html5fs.cc')
-rw-r--r--native_client_sdk/src/libraries/nacl_mounts/mount_html5fs.cc8
1 files changed, 2 insertions, 6 deletions
diff --git a/native_client_sdk/src/libraries/nacl_mounts/mount_html5fs.cc b/native_client_sdk/src/libraries/nacl_mounts/mount_html5fs.cc
index 6c18d73..1eff4bc 100644
--- a/native_client_sdk/src/libraries/nacl_mounts/mount_html5fs.cc
+++ b/native_client_sdk/src/libraries/nacl_mounts/mount_html5fs.cc
@@ -33,12 +33,8 @@ MountNode *MountHtml5Fs::Open(const Path& path, int mode) {
if (!fileref)
return NULL;
- // TODO(binji): Are these needed?
- const int ino = 0;
- const int USR_ID = 1;
- const int GRP_ID = 2;
- MountNodeHtml5Fs* node = new MountNodeHtml5Fs(this, ino, dev_, fileref);
- if (!node->Init(mode, USR_ID, GRP_ID)) {
+ MountNodeHtml5Fs* node = new MountNodeHtml5Fs(this, fileref);
+ if (!node->Init(mode)) {
node->Release();
return NULL;
}