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

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: fix typo 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..f04f82cbafc36f32261aa8b438cf4ef8ce9508d5 100644
--- a/base/task.cc
+++ b/base/task.cc
@@ -34,4 +34,11 @@ Task* ScopedTaskRunner::Release() {
return tmp;
}
+namespace subtle {
+
+// Don't leak tasks by default.
+bool TaskClosureAdapter::kTaskLeakingDefault = false;
+
+} // namespace subtle
+
} // namespace base

Powered by Google App Engine
This is Rietveld 408576698