summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/string_util.h2
-rw-r--r--chrome/browser/shell_integration_linux.cc6
-rw-r--r--chrome/browser/zygote_host_linux.cc1
3 files changed, 5 insertions, 4 deletions
diff --git a/base/string_util.h b/base/string_util.h
index 0ae0185..d1767f9 100644
--- a/base/string_util.h
+++ b/base/string_util.h
@@ -164,7 +164,7 @@ TrimPositions TrimWhitespace(const std::string& input,
// Searches for CR or LF characters. Removes all contiguous whitespace
// strings that contain them. This is useful when trying to deal with text
// copied from terminals.
-// Returns |text, with the following three transformations:
+// Returns |text|, with the following three transformations:
// (1) Leading and trailing whitespace is trimmed.
// (2) If |trim_sequences_with_line_breaks| is true, any other whitespace
// sequences containing a CR or LF are trimmed.
diff --git a/chrome/browser/shell_integration_linux.cc b/chrome/browser/shell_integration_linux.cc
index fb3fef8..1c3fad2 100644
--- a/chrome/browser/shell_integration_linux.cc
+++ b/chrome/browser/shell_integration_linux.cc
@@ -166,9 +166,9 @@ class CreateDesktopShortcutTask : public Task {
} // namespace
-// We delegate the difficult of setting the default browser in Linux desktop
-// environments to a new xdg utility, xdg-settings. We'll have to include a copy
-// of it for this to work, obviously, but that's actually the suggested approach
+// We delegate the difficulty of setting the default browser in Linux desktop
+// environments to a new xdg utility, xdg-settings. We have to include a copy of
+// it for this to work, obviously, but that's actually the suggested approach
// for xdg utilities anyway.
bool ShellIntegration::SetAsDefaultBrowser() {
diff --git a/chrome/browser/zygote_host_linux.cc b/chrome/browser/zygote_host_linux.cc
index e0fe349..bd3d099 100644
--- a/chrome/browser/zygote_host_linux.cc
+++ b/chrome/browser/zygote_host_linux.cc
@@ -66,6 +66,7 @@ ZygoteHost::ZygoteHost() {
}
// Append any switches from the browser process that need to be forwarded on
// to the zygote/renderers.
+ // Should this list be obtained from browser_render_process_host.cc?
if (browser_command_line.HasSwitch(switches::kAllowSandboxDebugging)) {
cmd_line.AppendSwitch(switches::kAllowSandboxDebugging);
}