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

Issue 2092093002: Make WTF::Function be a base::Callback wrapper (5/5) (Closed)

Created:
4 years, 6 months ago by tzik
Modified:
4 years, 5 months ago
CC:
chromium-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, blink-reviews-wtf_chromium.org, Mikhail, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@03_wrap
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make WTF::Function be a base::Callback wrapper BUG=597856 Committed: https://crrev.com/949812d269dfc76c3d05f8d3854657e6aa4abe1b Cr-Commit-Position: refs/heads/master@{#402136}

Patch Set 1 #

Patch Set 2 : update test expectation #

Patch Set 3 : rebase #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -140 lines) Patch
M third_party/WebKit/Source/wtf/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/wtf/Functional.h View 1 2 3 4 4 chunks +17 lines, -135 lines 2 comments Download
M third_party/WebKit/Source/wtf/FunctionalTest.cpp View 1 3 2 chunks +5 lines, -5 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 14 (5 generated)
tzik
PTAL
4 years, 6 months ago (2016-06-24 14:28:27 UTC) #3
Yuta Kitamura
Removing this scale of code in favor of base::Bind() is simply awesome. Looks generally OK. ...
4 years, 5 months ago (2016-06-27 06:46:36 UTC) #4
tzik
https://codereview.chromium.org/2092093002/diff/80001/third_party/WebKit/Source/wtf/Functional.h File third_party/WebKit/Source/wtf/Functional.h (right): https://codereview.chromium.org/2092093002/diff/80001/third_party/WebKit/Source/wtf/Functional.h#newcode251 third_party/WebKit/Source/wtf/Functional.h:251: return wrapUnique(new Function<UnboundRunType, threadAffinity>(base::Bind(function, typename ParamStorageTraits<typename std::decay<BoundParameters>::type>::StorageType(std::forward<BoundParameters>(boundParameters))...))); On 2016/06/27 ...
4 years, 5 months ago (2016-06-27 06:53:43 UTC) #5
Yuta Kitamura
OK, LGTM.
4 years, 5 months ago (2016-06-27 08:01:20 UTC) #6
hiroshige
lgtm!
4 years, 5 months ago (2016-06-27 08:30:58 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2092093002/80001
4 years, 5 months ago (2016-06-27 08:33:00 UTC) #9
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 5 months ago (2016-06-27 08:36:28 UTC) #11
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/949812d269dfc76c3d05f8d3854657e6aa4abe1b Cr-Commit-Position: refs/heads/master@{#402136}
4 years, 5 months ago (2016-06-27 08:37:57 UTC) #13
haraken
4 years, 5 months ago (2016-06-27 09:24:34 UTC) #14
Message was sent while issue was closed.
LGTM

Powered by Google App Engine
This is Rietveld 408576698