Commit 6df1360b authored by sail@chromium.org's avatar sail@chromium.org

Minor fix for base::Bind documentation

BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148802 0039d316-1c4b-4281-b951-d872f2087c98
parent 89f96d35
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
// the rest when you execute the callback. // the rest when you execute the callback.
// //
// void MyFunc(int i, const std::string& str) {} // void MyFunc(int i, const std::string& str) {}
// base::Callback<void(int)> cb = base::Bind(&MyFunc, 23); // base::Callback<void(const std::string)> cb = base::Bind(&MyFunc, 23);
// cb.Run("hello world"); // cb.Run("hello world");
// //
// When calling a function bound parameters are first, followed by unbound // When calling a function bound parameters are first, followed by unbound
......
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