DescriptionMojo: 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
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285019
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|