summaryrefslogtreecommitdiffstats
path: root/base/gfx/convolver.cc
diff options
context:
space:
mode:
authorericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-18 16:00:38 +0000
committerericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-18 16:00:38 +0000
commitd324ab33283100c0800809b394cbde3dd1dcd801 (patch)
treeda83b2b01f7346790f1cf426cf7f252fa6d30089 /base/gfx/convolver.cc
parent7cb98a23d0be29c2b5ceafa6f9e4b1d8e98cd282 (diff)
downloadchromium_src-d324ab33283100c0800809b394cbde3dd1dcd801.zip
chromium_src-d324ab33283100c0800809b394cbde3dd1dcd801.tar.gz
chromium_src-d324ab33283100c0800809b394cbde3dd1dcd801.tar.bz2
Cleanup some comment typos.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@984 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/gfx/convolver.cc')
-rw-r--r--base/gfx/convolver.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/gfx/convolver.cc b/base/gfx/convolver.cc
index 1bf89c3..cac487d 100644
--- a/base/gfx/convolver.cc
+++ b/base/gfx/convolver.cc
@@ -104,7 +104,7 @@ class CircularRowBuffer {
for (int i = 0; i < num_rows_; i++) {
row_addresses_[i] = &buffer_[cur_row * row_byte_width_];
- // Advance to the next row, wrapping if nexessary.
+ // Advance to the next row, wrapping if necessary.
cur_row++;
if (cur_row == num_rows_)
cur_row = 0;
@@ -239,7 +239,7 @@ void ConvolveVertically(const int16* filter_values,
else
out_row[byte_offset + 3] = alpha;
} else {
- // No alpha channel, the image is opqaue.
+ // No alpha channel, the image is opaque.
out_row[byte_offset + 3] = 0xff;
}
}