summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-02 10:35:44 +0000
committergavinp@chromium.org <gavinp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-02 10:35:44 +0000
commit40cb8e0cc19c8b2d192a1d62389cc0da34725fea (patch)
treec1d32a8b270dd3ab995c7a7a4687afab7bb061a7
parent0547347170e85f1954f6905bb4537039757f1e30 (diff)
downloadchromium_src-40cb8e0cc19c8b2d192a1d62389cc0da34725fea.zip
chromium_src-40cb8e0cc19c8b2d192a1d62389cc0da34725fea.tar.gz
chromium_src-40cb8e0cc19c8b2d192a1d62389cc0da34725fea.tar.bz2
Fix some grammatical errors in base/
BUG=None Review URL: http://codereview.chromium.org/9854040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@130117 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--base/json/json_reader.cc2
-rw-r--r--base/process_util_linux.cc2
-rw-r--r--base/sys_string_conversions_posix.cc4
3 files changed, 4 insertions, 4 deletions
diff --git a/base/json/json_reader.cc b/base/json/json_reader.cc
index 348e471..c9f6e76 100644
--- a/base/json/json_reader.cc
+++ b/base/json/json_reader.cc
@@ -501,7 +501,7 @@ Value* JSONReader::DecodeString(const Token& token) {
default:
// We should only have valid strings at this point. If not,
- // ParseStringToken didn't do it's job.
+ // ParseStringToken didn't do its job.
NOTREACHED();
return NULL;
}
diff --git a/base/process_util_linux.cc b/base/process_util_linux.cc
index 9c83576..e8dbd52 100644
--- a/base/process_util_linux.cc
+++ b/base/process_util_linux.cc
@@ -764,7 +764,7 @@ void EnableTerminationOnOutOfMemory() {
// NOTE: This is not the only version of this function in the source:
// the setuid sandbox (in process_util_linux.c, in the sandbox source)
-// also has it's own C version.
+// also has its own C version.
bool AdjustOOMScore(ProcessId process, int score) {
if (score < 0 || score > kMaxOomScore)
return false;
diff --git a/base/sys_string_conversions_posix.cc b/base/sys_string_conversions_posix.cc
index f46259d..a2bf52a 100644
--- a/base/sys_string_conversions_posix.cc
+++ b/base/sys_string_conversions_posix.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -79,7 +79,7 @@ std::string SysWideToNativeMB(const std::wstring& wide) {
memset(&ps, 0, sizeof(ps));
for (size_t i = 0, j = 0; i < wide.size(); ++i) {
const wchar_t src = wide[i];
- // We don't want wcrtomb to do it's funkiness for embedded NULLs.
+ // We don't want wcrtomb to do its funkiness for embedded NULLs.
size_t res = src ? wcrtomb(&out[j], src, &ps) : 0;
switch (res) {
// Handle any errors and return an empty string.