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

Unified Diff: native_client_sdk/src/libraries/nacl_mounts/mount_html5fs.cc

Issue 12166002: Cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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_mounts/mount_html5fs.cc
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 6c18d73ec815d49153488c1285d731da1efb7f68..1eff4bc0e930d0641ec3acd449872ef9a8f22ec1 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;
}

Powered by Google App Engine
This is Rietveld 408576698