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

Issue 1535943002: Convert Pass()→std::move() in //mojo/public/ (Closed)

Created:
5 years ago by dcheng
Modified:
4 years, 12 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, 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

Convert Pass()→std::move() in //mojo/public/ BUG=557422 TBR=ben@chromium.org Committed: https://crrev.com/aa6492d9e85944a38963360ad903bf3eda48c3e3 Cr-Commit-Position: refs/heads/master@{#366892}

Patch Set 1 #

Patch Set 2 : Remove self-move checks to avoid triggering clang warning. #

Total comments: 3

Patch Set 3 : regenerate #

Patch Set 4 : Regenerate correctly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+460 lines, -413 lines) Patch
M mojo/public/cpp/bindings/array.h View 1 2 3 5 chunks +5 lines, -5 lines 0 comments Download
M mojo/public/cpp/bindings/associated_binding.h View 3 chunks +4 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/associated_group.h View 2 chunks +6 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/associated_interface_ptr.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/associated_interface_ptr_info.h View 1 2 5 chunks +5 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/associated_interface_request.h View 4 chunks +6 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/binding.h View 4 chunks +8 lines, -6 lines 0 comments Download
M mojo/public/cpp/bindings/interface_ptr.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/interface_ptr_info.h View 1 2 3 chunks +7 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/interface_request.h View 5 chunks +12 lines, -8 lines 0 comments Download
M mojo/public/cpp/bindings/lib/array_internal.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/lib/array_serialization.h View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/lib/associated_interface_ptr_state.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/lib/binding_state.h View 4 chunks +6 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/lib/connector.cc View 1 2 5 chunks +6 lines, -5 lines 0 comments Download
M mojo/public/cpp/bindings/lib/control_message_handler.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M mojo/public/cpp/bindings/lib/control_message_proxy.cc View 1 2 5 chunks +7 lines, -6 lines 0 comments Download
M mojo/public/cpp/bindings/lib/interface_endpoint_client.cc View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/lib/interface_ptr_state.h View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/lib/map_internal.h View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/lib/map_serialization.h View 1 2 3 chunks +5 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/lib/multiplex_router.cc View 1 2 5 chunks +7 lines, -5 lines 0 comments Download
M mojo/public/cpp/bindings/lib/pipe_control_message_proxy.cc View 1 2 4 chunks +7 lines, -6 lines 0 comments Download
M mojo/public/cpp/bindings/lib/router.cc View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/map.h View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/strong_binding.h View 5 chunks +5 lines, -4 lines 0 comments Download
M mojo/public/cpp/bindings/tests/array_unittest.cc View 1 2 11 chunks +15 lines, -13 lines 0 comments Download
M mojo/public/cpp/bindings/tests/associated_interface_unittest.cc View 1 2 14 chunks +28 lines, -28 lines 0 comments Download
M mojo/public/cpp/bindings/tests/binding_unittest.cc View 1 2 10 chunks +12 lines, -10 lines 0 comments Download
M mojo/public/cpp/bindings/tests/bindings_perftest.cc View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/tests/connector_unittest.cc View 1 2 13 chunks +25 lines, -23 lines 0 comments Download
M mojo/public/cpp/bindings/tests/equals_unittest.cc View 3 chunks +4 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/tests/handle_passing_unittest.cc View 1 2 12 chunks +18 lines, -17 lines 0 comments Download
M mojo/public/cpp/bindings/tests/interface_ptr_unittest.cc View 1 2 20 chunks +30 lines, -28 lines 0 comments Download
M mojo/public/cpp/bindings/tests/map_unittest.cc View 1 2 10 chunks +12 lines, -10 lines 0 comments Download
M mojo/public/cpp/bindings/tests/multiplex_router_unittest.cc View 1 2 8 chunks +19 lines, -16 lines 0 comments Download
M mojo/public/cpp/bindings/tests/request_response_unittest.cc View 1 2 4 chunks +4 lines, -3 lines 0 comments Download
M mojo/public/cpp/bindings/tests/router_unittest.cc View 1 2 7 chunks +16 lines, -13 lines 0 comments Download
M mojo/public/cpp/bindings/tests/sample_service_unittest.cc View 1 2 6 chunks +16 lines, -16 lines 0 comments Download
M mojo/public/cpp/bindings/tests/serialization_warning_unittest.cc View 1 2 10 chunks +28 lines, -27 lines 0 comments Download
M mojo/public/cpp/bindings/tests/struct_unittest.cc View 1 2 20 chunks +21 lines, -20 lines 0 comments Download
M mojo/public/cpp/bindings/tests/type_conversion_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M mojo/public/cpp/bindings/tests/union_unittest.cc View 1 2 40 chunks +55 lines, -55 lines 0 comments Download
M mojo/public/cpp/bindings/tests/validation_unittest.cc View 1 2 6 chunks +8 lines, -6 lines 0 comments Download
M mojo/public/cpp/system/tests/core_unittest.cc View 1 2 3 4 chunks +4 lines, -14 lines 0 comments Download
M mojo/public/cpp/system/tests/macros_unittest.cc View 1 2 3 3 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 35 (16 generated)
dcheng
Sorry, all the other //mojo OWNERS appear to be OOO due to the holiday season.
5 years ago (2015-12-18 09:18:39 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1535943002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1535943002/1
5 years ago (2015-12-18 09:18:59 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/45305)
5 years ago (2015-12-18 09:25:56 UTC) #7
dcheng
https://codereview.chromium.org/1535943002/diff/20001/mojo/public/cpp/system/tests/core_unittest.cc File mojo/public/cpp/system/tests/core_unittest.cc (left): https://codereview.chromium.org/1535943002/diff/20001/mojo/public/cpp/system/tests/core_unittest.cc#oldcode487 mojo/public/cpp/system/tests/core_unittest.cc:487: buffer1 = buffer1.Pass(); Clang has a -Wself-move warning that ...
5 years ago (2015-12-18 09:54:41 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1535943002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1535943002/20001
5 years ago (2015-12-18 09:55:36 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/45320)
5 years ago (2015-12-18 10:08:46 UTC) #12
dcheng
+fsamuel, +rockot: can one of you look at this patch? All the //mojo OWNERS are ...
5 years ago (2015-12-21 18:34:12 UTC) #14
Ken Rockot(use gerrit already)
https://codereview.chromium.org/1535943002/diff/20001/mojo/public/cpp/bindings/array.h File mojo/public/cpp/bindings/array.h (right): https://codereview.chromium.org/1535943002/diff/20001/mojo/public/cpp/bindings/array.h#newcode59 mojo/public/cpp/bindings/array.h:59: static Array New(size_t size) { return std::move(Array(size)); } Shouldn't ...
5 years ago (2015-12-21 18:49:22 UTC) #15
dcheng
https://codereview.chromium.org/1535943002/diff/20001/mojo/public/cpp/bindings/array.h File mojo/public/cpp/bindings/array.h (right): https://codereview.chromium.org/1535943002/diff/20001/mojo/public/cpp/bindings/array.h#newcode59 mojo/public/cpp/bindings/array.h:59: static Array New(size_t size) { return std::move(Array(size)); } On ...
5 years ago (2015-12-21 19:27:28 UTC) #16
Ken Rockot(use gerrit already)
OK. If it doesn't break the compile, I don't see a major issue. LGTM and ...
5 years ago (2015-12-21 19:28:25 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1535943002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1535943002/20001
5 years ago (2015-12-21 19:44:14 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/110458) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years ago (2015-12-21 19:46:37 UTC) #22
dcheng
Avi, mind sanity checking this before I re-CQ it?
4 years, 12 months ago (2015-12-26 01:14:02 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1535943002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1535943002/60001
4 years, 12 months ago (2015-12-26 01:14:15 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 12 months ago (2015-12-26 02:52:30 UTC) #28
Avi (use Gerrit)
lgtm stampity stamp
4 years, 12 months ago (2015-12-26 04:35:47 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1535943002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1535943002/60001
4 years, 12 months ago (2015-12-26 04:42:08 UTC) #32
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 12 months ago (2015-12-26 04:46:43 UTC) #33
commit-bot: I haz the power
4 years, 12 months ago (2015-12-26 04:47:39 UTC) #35
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/aa6492d9e85944a38963360ad903bf3eda48c3e3
Cr-Commit-Position: refs/heads/master@{#366892}

Powered by Google App Engine
This is Rietveld 408576698