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

Unified Diff: base/task.cc

Issue 7316015: Support Closure in ALL the loops! (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup idle wait. Created 9 years, 5 months 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
Index: base/task.cc
diff --git a/base/task.cc b/base/task.cc
index e4da5474a0098d852963c1ca5c1b350ffa306d37..cf1df6991bf51d7a6d33bcb249bda6e6789396cf 100644
--- a/base/task.cc
+++ b/base/task.cc
@@ -34,4 +34,9 @@ Task* ScopedTaskRunner::Release() {
return tmp;
}
+namespace subtle {
darin (slow to review) 2011/07/07 21:54:01 nit: we usually have a new line of padding at the
awong 2011/07/08 00:38:40 Done.
+// Don't leak tasks by default.
+bool TaskClosureAdapter::kTaskLeakingDefault = false;
+} // namespace subtle
+
} // namespace base

Powered by Google App Engine
This is Rietveld 408576698