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

Unified Diff: mojo/public/c/system/tests/buffer_unittest.cc

Issue 2056513002: Plumb MojoReplaceHandleWithReducedRights() out. (Closed) Base URL: https://github.com/domokit/mojo.git@work790_replace_reduce_1
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mojo/public/c/system/tests/buffer_unittest.cc
diff --git a/mojo/public/c/system/tests/buffer_unittest.cc b/mojo/public/c/system/tests/buffer_unittest.cc
index 05179129c03e115fa8fcc7c01b68c8f863626d56..6e32f2c0caea93bd576f2f046d57dbc2e1cdbf69 100644
--- a/mojo/public/c/system/tests/buffer_unittest.cc
+++ b/mojo/public/c/system/tests/buffer_unittest.cc
@@ -21,7 +21,6 @@ const MojoHandleRights kDefaultSharedBufferHandleRights =
// The only handle that's guaranteed to be invalid is |MOJO_HANDLE_INVALID|.
// Tests that everything that takes a handle properly recognizes it.
TEST(BufferTest, InvalidHandle) {
- // Shared buffer:
MojoHandle out_handle = MOJO_HANDLE_INVALID;
EXPECT_EQ(
MOJO_RESULT_INVALID_ARGUMENT,

Powered by Google App Engine
This is Rietveld 408576698