summaryrefslogtreecommitdiffstats
path: root/base/thread_restrictions.h
diff options
context:
space:
mode:
authorevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-01 20:31:45 +0000
committerevan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-01 20:31:45 +0000
commit9852f63e347fb158463f4437b7ee9422384f02e6 (patch)
treef544530e11f181f0a51a00330799ef3feb005806 /base/thread_restrictions.h
parent986c378d6312bd56c3da012e8f9db45c176e2118 (diff)
downloadchromium_src-9852f63e347fb158463f4437b7ee9422384f02e6.zip
chromium_src-9852f63e347fb158463f4437b7ee9422384f02e6.tar.gz
chromium_src-9852f63e347fb158463f4437b7ee9422384f02e6.tar.bz2
Simplify a comment.
This object is primarily available to work around bugs, but it is also sometimes necessary, which is why it describes its usage as *almost* always incorrect. Review URL: http://codereview.chromium.org/4213009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64656 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/thread_restrictions.h')
-rw-r--r--base/thread_restrictions.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/base/thread_restrictions.h b/base/thread_restrictions.h
index cbdb913..a10aaec 100644
--- a/base/thread_restrictions.h
+++ b/base/thread_restrictions.h
@@ -33,8 +33,7 @@ namespace base {
class ThreadRestrictions {
public:
// Constructing a ScopedAllowIO temporarily allows IO for the current
- // thread. Doing this is almost certainly always incorrect. This object
- // is available to temporarily work around bugs.
+ // thread. Doing this is almost certainly always incorrect.
class ScopedAllowIO {
public:
ScopedAllowIO() { previous_value_ = SetIOAllowed(true); }