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

Issue 1059663002: Use newer Chromium helper macro for defining move-only type. (Closed)

Created:
5 years, 8 months ago by mgraczyk
Modified:
5 years, 8 months ago
Reviewers:
jamesr, viettrungluu
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 4

Patch Set 2 : Add self-assignment check in move assignment operator. #

Total comments: 2

Patch Set 3 : Omit braces #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
M mojo/edk/embedder/scoped_platform_handle.h View 1 2 2 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 21 (4 generated)
mgraczyk
This commit removes a dependency on an old header in Chromium's move.h that I am ...
5 years, 8 months ago (2015-04-03 02:53:50 UTC) #1
mgraczyk
On 2015/04/03 02:53:50, mgraczyk wrote: > This commit removes a dependency on an old header ...
5 years, 8 months ago (2015-04-03 02:54:57 UTC) #2
jamesr
https://codereview.chromium.org/1059663002/diff/1/mojo/edk/embedder/scoped_platform_handle.h File mojo/edk/embedder/scoped_platform_handle.h (right): https://codereview.chromium.org/1059663002/diff/1/mojo/edk/embedder/scoped_platform_handle.h#newcode28 mojo/edk/embedder/scoped_platform_handle.h:28: handle_ = other.release(); this operator is incorrect, it doesn't ...
5 years, 8 months ago (2015-04-03 17:02:46 UTC) #3
jamesr
https://msdn.microsoft.com/en-us/library/dd293665.aspx is a good guide for how to correctly write move constructors and assignment operators.
5 years, 8 months ago (2015-04-03 17:12:15 UTC) #4
mgraczyk
https://codereview.chromium.org/1059663002/diff/1/mojo/edk/embedder/scoped_platform_handle.h File mojo/edk/embedder/scoped_platform_handle.h (right): https://codereview.chromium.org/1059663002/diff/1/mojo/edk/embedder/scoped_platform_handle.h#newcode28 mojo/edk/embedder/scoped_platform_handle.h:28: handle_ = other.release(); On 2015/04/03 17:02:45, jamesr wrote: > ...
5 years, 8 months ago (2015-04-03 18:30:00 UTC) #5
jamesr
https://codereview.chromium.org/1059663002/diff/1/mojo/edk/embedder/scoped_platform_handle.h File mojo/edk/embedder/scoped_platform_handle.h (right): https://codereview.chromium.org/1059663002/diff/1/mojo/edk/embedder/scoped_platform_handle.h#newcode28 mojo/edk/embedder/scoped_platform_handle.h:28: handle_ = other.release(); On 2015/04/03 18:30:00, mgraczyk wrote: > ...
5 years, 8 months ago (2015-04-03 19:18:23 UTC) #6
mgraczyk
https://codereview.chromium.org/1059663002/diff/1/mojo/edk/embedder/scoped_platform_handle.h File mojo/edk/embedder/scoped_platform_handle.h (right): https://codereview.chromium.org/1059663002/diff/1/mojo/edk/embedder/scoped_platform_handle.h#newcode28 mojo/edk/embedder/scoped_platform_handle.h:28: handle_ = other.release(); On 2015/04/03 19:18:23, jamesr wrote: > ...
5 years, 8 months ago (2015-04-03 19:33:40 UTC) #7
viettrungluu
https://codereview.chromium.org/1059663002/diff/20001/mojo/edk/embedder/scoped_platform_handle.h File mojo/edk/embedder/scoped_platform_handle.h (right): https://codereview.chromium.org/1059663002/diff/20001/mojo/edk/embedder/scoped_platform_handle.h#newcode29 mojo/edk/embedder/scoped_platform_handle.h:29: if (this != &other) { nit: for consistency with ...
5 years, 8 months ago (2015-04-03 19:36:51 UTC) #9
jamesr
lgtm I think the potential code bloat is something we can safely depend on the ...
5 years, 8 months ago (2015-04-03 19:37:35 UTC) #10
mgraczyk
https://codereview.chromium.org/1059663002/diff/20001/mojo/edk/embedder/scoped_platform_handle.h File mojo/edk/embedder/scoped_platform_handle.h (right): https://codereview.chromium.org/1059663002/diff/20001/mojo/edk/embedder/scoped_platform_handle.h#newcode29 mojo/edk/embedder/scoped_platform_handle.h:29: if (this != &other) { On 2015/04/03 19:36:51, viettrungluu ...
5 years, 8 months ago (2015-04-03 19:44:27 UTC) #13
commit-bot: I haz the power
Commit queue rejected this change because it did not recognize the base URL. Please commit ...
5 years, 8 months ago (2015-04-03 19:46:33 UTC) #15
viettrungluu
(lgtm too, in case you were wondering)
5 years, 8 months ago (2015-04-03 19:46:45 UTC) #16
jamesr
There's no CQ here: https://github.com/domokit/mojo/blob/master/README.md
5 years, 8 months ago (2015-04-03 19:57:57 UTC) #17
mgraczyk
On 2015/04/03 19:57:57, jamesr wrote: > There's no CQ here: https://github.com/domokit/mojo/blob/master/README.md "git cl land" isn't ...
5 years, 8 months ago (2015-04-03 20:03:11 UTC) #18
jamesr
What's your github account name?
5 years, 8 months ago (2015-04-03 20:10:21 UTC) #19
mgraczyk
On 2015/04/03 20:10:21, jamesr wrote: > What's your github account name? mgraczyk https://github.com/mgraczyk
5 years, 8 months ago (2015-04-03 20:11:25 UTC) #20
mgraczyk
5 years, 8 months ago (2015-04-03 20:55:59 UTC) #21
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
b01dd3b35c2c67c6ec8f25e672cd8034dcbf5e91 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698