commit | 718dddf9b1ba2ff3fc0bf7dd02f603134deb5005 | [log] [tgz] |
---|---|---|
author | ajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | Wed Sep 28 09:26:37 2011 +0900 |
committer | Qijiang Fan <fqj@google.com> | Thu Jun 04 11:52:39 2020 +0900 |
tree | f700b10e8d68a8a72d71964bd83f2834c0bbe01d | |
parent | 43a227f4c648159442d289549ab89c94eaa39b6a [diff] |
Add new helper that can adapt Callbacks with return values for Closures. This is helpful for reducing manually written static functions that just effectively just invoke the function and ignore the return value. BUG=87287 TEST=new unittest Review URL: http://codereview.chromium.org/8048008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103060 0039d316-1c4b-4281-b951-d872f2087c98 CrOS-Libchrome-Original-Commit: e8bfc31d8cbd65213951163ffc28bc6615f71670