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

Unified Diff: content/browser/byte_stream.cc

Issue 2523393002: Make comments in byte_stream.cc gender neutral. (Closed)
Patch Set: Removes unnecessary formatting Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/byte_stream.cc
diff --git a/content/browser/byte_stream.cc b/content/browser/byte_stream.cc
index 1c70739a9f4171f248d87f1b4d0c322f7ad0fd39..0bb824a00524fb50dec935b7eaa17b453737daae 100644
--- a/content/browser/byte_stream.cc
+++ b/content/browser/byte_stream.cc
@@ -22,10 +22,10 @@ ContentVector;
class ByteStreamReaderImpl;
-// A poor man's weak pointer; a RefCountedThreadSafe boolean that can be
-// cleared in an object destructor and accessed to check for object
-// existence. We can't use weak pointers because they're tightly tied to
-// threads rather than task runners.
+// A makeshift weak pointer; a RefCountedThreadSafe boolean that can be cleared
+// in an object destructor and accessed to check for object existence. We can't
+// use weak pointers because they're tightly tied to threads rather than task
+// runners.
// TODO(rdsmith): A better solution would be extending weak pointers
// to support SequencedTaskRunners.
struct LifetimeFlag : public base::RefCountedThreadSafe<LifetimeFlag> {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698