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

Unified Diff: base/debug/stack_trace_posix.cc

Issue 1469783002: Cleanup: Correctly spell success(ful). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format media Created 5 years, 1 month 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: base/debug/stack_trace_posix.cc
diff --git a/base/debug/stack_trace_posix.cc b/base/debug/stack_trace_posix.cc
index fb5b21f999b660da83dd566636d799aaecfa52ca..c49a762adc0d14ec5229b9101861d8532ca0bfab 100644
--- a/base/debug/stack_trace_posix.cc
+++ b/base/debug/stack_trace_posix.cc
@@ -473,7 +473,7 @@ class SandboxSymbolizeHelper {
}
// Returns a O_RDONLY file descriptor for |file_path| if it was opened
- // sucessfully during the initialization. The file is repositioned at
+ // successfully during the initialization. The file is repositioned at
// offset 0.
// IMPORTANT: This function must be async-signal-safe because it can be
// called from a signal handler (symbolizing stack frames for a crash).
@@ -741,7 +741,7 @@ void StackTrace::OutputToStream(std::ostream* os) const {
namespace internal {
// NOTE: code from sandbox/linux/seccomp-bpf/demo.cc.
-char *itoa_r(intptr_t i, char *buf, size_t sz, int base, size_t padding) {
+char* itoa_r(intptr_t i, char* buf, size_t sz, int base, size_t padding) {
// Make sure we can write at least one NUL byte.
size_t n = 1;
if (n > sz)
@@ -752,7 +752,7 @@ char *itoa_r(intptr_t i, char *buf, size_t sz, int base, size_t padding) {
return NULL;
}
- char *start = buf;
+ char* start = buf;
uintptr_t j = i;
@@ -771,7 +771,7 @@ char *itoa_r(intptr_t i, char *buf, size_t sz, int base, size_t padding) {
// Loop until we have converted the entire number. Output at least one
// character (i.e. '0').
- char *ptr = start;
+ char* ptr = start;
do {
// Make sure there is still enough space left in our output buffer.
if (++n > sz) {

Powered by Google App Engine
This is Rietveld 408576698