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

Unified Diff: base/critical_closure.h

Issue 10837182: Add inline annotation for base::MakeCriticalClosure() in platform other than ios. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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
« 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: base/critical_closure.h
diff --git a/base/critical_closure.h b/base/critical_closure.h
index bb038dd372044ac50fc4a45b3141d88b35173f7c..ca51ed5cef27d40923ba8e4d99de4044c63fa457 100644
--- a/base/critical_closure.h
+++ b/base/critical_closure.h
@@ -25,7 +25,7 @@ namespace base {
#if defined(OS_IOS)
base::Closure MakeCriticalClosure(const base::Closure& closure);
#else
-base::Closure MakeCriticalClosure(const base::Closure& closure) {
+inline base::Closure MakeCriticalClosure(const base::Closure& closure) {
// No-op for platforms where the application does not need to acquire
// background time for closures to finish when it goes into the background.
return closure;
« 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