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

Unified Diff: native_client_sdk/src/libraries/nacl_io/kernel_object.cc

Issue 13106002: [NaCl SDK] A bunch of spelling fixes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix presubmit Created 7 years, 9 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/kernel_object.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/kernel_object.cc b/native_client_sdk/src/libraries/nacl_io/kernel_object.cc
index 95223f6974f27cfac44c80a29165bf9e824cfdce..75e84c935531268d3e06babf07aa012366f7ff85 100644
--- a/native_client_sdk/src/libraries/nacl_io/kernel_object.cc
+++ b/native_client_sdk/src/libraries/nacl_io/kernel_object.cc
@@ -115,7 +115,7 @@ void KernelObject::ReleaseHandle(KernelHandle* handle) {
}
// Helper function to properly sort FD order in the heap, forcing
-// lower numberd FD to be available first.
+// lower numbered FD to be available first.
static bool FdOrder(int i, int j) {
return i > j;
}
@@ -148,7 +148,7 @@ void KernelObject::FreeAndReassignFD(int fd, KernelHandle* handle) {
} else {
AutoLock lock(&process_lock_);
- // Acquire the new handle first incase they are the same.
+ // Acquire the new handle first in case they are the same.
if (handle) {
handle->Acquire();
handle->mount_->Acquire();
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/kernel_object.h ('k') | native_client_sdk/src/libraries/nacl_io/mount_mem.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698