diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-16 21:35:33 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-16 21:35:33 +0000 |
commit | aa2f7f32f96a48b85b0e72761b6d9745c74e8491 (patch) | |
tree | 7894abbb8fbe38a457a94c39ededb5bad0a3e7f4 /base | |
parent | 4bf2c449817e83e7442b8333699ce26d0550b6d1 (diff) | |
download | chromium_src-aa2f7f32f96a48b85b0e72761b6d9745c74e8491.zip chromium_src-aa2f7f32f96a48b85b0e72761b6d9745c74e8491.tar.gz chromium_src-aa2f7f32f96a48b85b0e72761b6d9745c74e8491.tar.bz2 |
FBTF: Header cleanup in renderer_host.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3164011
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56237 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/scoped_ptr.h | 10 | ||||
-rw-r--r-- | base/task.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/base/scoped_ptr.h b/base/scoped_ptr.h index cb17735..88ee41b 100644 --- a/base/scoped_ptr.h +++ b/base/scoped_ptr.h @@ -4,7 +4,7 @@ // Scopers help you manage ownership of a pointer, helping you easily manage the // a pointer within a scope, and automatically destroying the pointer at the -// end of a scope. There are two main classes you will use, which coorespond +// end of a scope. There are two main classes you will use, which correspond // to the operators new/delete and new[]/delete[]. // // Example usage (scoped_ptr): @@ -19,7 +19,7 @@ // foo.reset(new Foo("wee3")); // Foo("wee2") was destroyed. // foo->Method(); // Foo::Method() called. // foo.get()->Method(); // Foo::Method() called. -// SomeFunc(foo.release()); // SomeFunc takes owernship, foo no longer +// SomeFunc(foo.release()); // SomeFunc takes ownership, foo no longer // // manages a pointer. // foo.reset(new Foo("wee4")); // foo manages a pointer again. // foo.reset(); // Foo("wee4") destroyed, foo no longer @@ -63,7 +63,7 @@ class scoped_ptr { // The element type typedef C element_type; - // Constructor. Defaults to intializing with NULL. + // Constructor. Defaults to initializing with NULL. // There is no way to create an uninitialized scoped_ptr. // The input parameter must be allocated with new. explicit scoped_ptr(C* p = NULL) : ptr_(p) { } @@ -276,7 +276,7 @@ class scoped_ptr_malloc { // The element type typedef C element_type; - // Constructor. Defaults to intializing with NULL. + // Constructor. Defaults to initializing with NULL. // There is no way to create an uninitialized scoped_ptr. // The input parameter must be allocated with an allocator that matches the // Free functor. For the default Free functor, this is malloc, calloc, or @@ -318,7 +318,7 @@ class scoped_ptr_malloc { // Comparison operators. // These return whether a scoped_ptr_malloc and a plain pointer refer // to the same object, not just to two different but equal objects. - // For compatibility wwith the boost-derived implementation, these + // For compatibility with the boost-derived implementation, these // take non-const arguments. bool operator==(C* p) const { return ptr_ == p; diff --git a/base/task.h b/base/task.h index e303a83..34b3009 100644 --- a/base/task.h +++ b/base/task.h @@ -296,7 +296,7 @@ struct RunnableMethodTraits { // want to call // Param - the parameter(s) to the method, possibly packed as a Tuple // A - the first parameter (if any) to the method -// B - the second parameter (if any) to the mathod +// B - the second parameter (if any) to the method // // Put these all together and you get an object that can call a method whose // signature is: |