Commit 7bd01c09 authored by chenyu@chromium.org's avatar chenyu@chromium.org

Add inline annotation for base::MakeCriticalClosure() in platform other than ios.

The implementation of this method is basically noop in platforms other than ios and it is put in the header file; this change adds inline annotation to avoid duplicate symbol link error on other platforms.

BUG=NONE


Review URL: https://chromiumcodereview.appspot.com/10837182

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150831 0039d316-1c4b-4281-b951-d872f2087c98
parent 47311eb0
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment