Mario Sanchez Prada 960e7d6c06 Adapt to using the new form of base::DoNothing()
No need to use the templated syntax anymore.

Chromium change:

https://source.chromium.org/chromium/chromium/src/+/e0fc463ca6d8dedd64bb520779aa367c0831581b

commit e0fc463ca6d8dedd64bb520779aa367c0831581b
Author: Daniel Cheng <dcheng@chromium.org>
Date:   Fri Oct 1 00:37:41 2021 +0000

    Update base::DoNothing() / base::NullCallback() to use a type tag.

    This allows both helpers to be used in contexts where the original
    helper required templated arguments to be explicitly specified,
    generally leading to more concise code.

    However, since base::DoNothing() only returns a type tag now, it can no
    longer be used as a functor with base::BindOnce/base::BindRepeating.
    In general, this seems to be a net neutral to slight positive change:
    the lambda version is actually shorter—though some might argue less
    readable—and it generates more efficient code since running the callback
    now jumps through one less thunk.

    Bug: 1252980
2021-11-02 12:38:04 -04:00
2021-10-29 17:54:41 -05:00
2021-11-01 20:29:48 -05:00
2021-11-02 12:01:04 +00:00
2021-11-02 12:01:04 +00:00

Brave Core

Brave Core is a set of changes, APIs, and scripts used for customizing Chromium to make Brave.

Follow @brave on Twitter for important announcements.

Resources

Community

You can ask questions and interact with the community in the following locations:

S
Description
No description provided
Readme MPL-2.0
3.8 GiB
Languages
C++ 36.9%
HTML 31.6%
Swift 9.4%
TypeScript 9%
Java 4.8%
Other 8.1%