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

Issue 2132973002: Replace a WTF::Function conversion operator to be a function (Closed)

Created:
4 years, 5 months ago by tzik
Modified:
4 years, 5 months ago
Reviewers:
tkent, haraken, hiroshige
CC:
Aaron Boodman, abarth-chromium, ajuma+watch_chromium.org, ben+mojo_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-platform-graphics_chromium.org, blink-reviews-wtf_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, darin (slow to review), dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jbroman, Justin Novosad, Mikhail, mlamouri+watch-blink_chromium.org, mvanouwerkerk+watch_chromium.org, pdr+graphicswatchlist_chromium.org, qsr+mojo_chromium.org, rwlbuis, Stephen Chennney, timvolodine, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace a WTF::Function conversion operator to be a function Use a function rather than an explicit conversion operator, so that it enforce the caller to pass the ownership of the callback. Committed: https://crrev.com/98807a41bbabd6ece33e2e433b38447f3c092189 Cr-Commit-Position: refs/heads/master@{#404369}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -55 lines) Patch
M third_party/WebKit/Source/modules/battery/BatteryDispatcher.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/broadcastchannel/BroadcastChannel.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/geolocation/Geolocation.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/nfc/NFC.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/modules/payments/PaymentRequest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/vibration/VibrationController.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/vr/VRController.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/webusb/USB.cpp View 4 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/webusb/USBDevice.cpp View 16 chunks +16 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/CanvasSurfaceLayerBridge.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/mojo/MojoHelper.h View 1 chunk +0 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/wtf/Functional.h View 1 chunk +2 lines, -2 lines 2 comments Download
M third_party/WebKit/public/platform/functional/WebFunction.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (4 generated)
tzik
PTAL
4 years, 5 months ago (2016-07-08 05:32:38 UTC) #2
hiroshige
https://codereview.chromium.org/2132973002/diff/1/third_party/WebKit/Source/wtf/Functional.h File third_party/WebKit/Source/wtf/Functional.h (right): https://codereview.chromium.org/2132973002/diff/1/third_party/WebKit/Source/wtf/Functional.h#newcode232 third_party/WebKit/Source/wtf/Functional.h:232: friend base::Callback<R(Args...)> convertToBaseCallback(std::unique_ptr<Function> function) Just checking: is this syntax ...
4 years, 5 months ago (2016-07-08 05:42:04 UTC) #3
tzik
https://codereview.chromium.org/2132973002/diff/1/third_party/WebKit/Source/wtf/Functional.h File third_party/WebKit/Source/wtf/Functional.h (right): https://codereview.chromium.org/2132973002/diff/1/third_party/WebKit/Source/wtf/Functional.h#newcode232 third_party/WebKit/Source/wtf/Functional.h:232: friend base::Callback<R(Args...)> convertToBaseCallback(std::unique_ptr<Function> function) On 2016/07/08 05:42:04, hiroshige wrote: ...
4 years, 5 months ago (2016-07-08 05:53:51 UTC) #4
hiroshige
lgtm.
4 years, 5 months ago (2016-07-08 06:55:34 UTC) #5
haraken
LGTM
4 years, 5 months ago (2016-07-08 06:57:01 UTC) #6
tzik
Kent-san, could you take a look to public/platform change as an OWNER?
4 years, 5 months ago (2016-07-08 08:03:19 UTC) #8
tkent
lgtm
4 years, 5 months ago (2016-07-08 08:33:33 UTC) #9
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/2132973002/1
4 years, 5 months ago (2016-07-08 09:07:12 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-08 14:21:15 UTC) #12
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-08 14:21:34 UTC) #13
commit-bot: I haz the power
4 years, 5 months ago (2016-07-08 14:23:41 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/98807a41bbabd6ece33e2e433b38447f3c092189
Cr-Commit-Position: refs/heads/master@{#404369}

Powered by Google App Engine
This is Rietveld 408576698