Mojo: Make mojo::Handle::value() return a reference instead of a value.
Getting the value is fine and fast, but returning a reference has the advantage of allowing you to pass &handle.value() to anything taking a |const MojoHandle*| (without needing to save to a temporary variable). R=sky@chromium.org Review URL: https://codereview.chromium.org/417583002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285019 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment