summaryrefslogtreecommitdiffstats
path: root/base/clipboard_win.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/clipboard_win.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/clipboard_win.cc')
-rw-r--r--base/clipboard_win.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/clipboard_win.cc b/base/clipboard_win.cc
index b5b5bf2..be79e5b 100644
--- a/base/clipboard_win.cc
+++ b/base/clipboard_win.cc
@@ -52,7 +52,7 @@ class ClipboardLock {
}
bool Acquire(HWND owner) {
- // We shouldn't be calling this if we already own the clipbard lock.
+ // We shouldn't be calling this if we already own the clipboard lock.
DCHECK(!we_own_the_lock_);
// We already have the lock. We don't want to stomp on the other use.
@@ -81,7 +81,7 @@ class ClipboardLock {
return we_own_the_lock_;
}
- // Having failed, we yeild our timeslice to other processes. ::Yield seems
+ // Having failed, we yield our timeslice to other processes. ::Yield seems
// to be insufficient here, so we sleep for 5 ms.
if (attempts < (kMaxAttemptsToOpenClipboard - 1))
::Sleep(5);
@@ -92,7 +92,7 @@ class ClipboardLock {
}
void Release() {
- // We should only be calling this if we already own the clipbard lock.
+ // We should only be calling this if we already own the clipboard lock.
DCHECK(we_own_the_lock_);
// We we don't have the lock, there is nothing to release.