summaryrefslogtreecommitdiffstats
path: root/mojo/edk/test/multiprocess_test_helper_unittest.cc
diff options
context:
space:
mode:
authorjam <jam@chromium.org>2015-12-11 07:33:53 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-11 15:34:39 +0000
commitc39c60923af029e71ba1d30adbf51dec0918031b (patch)
treeecf6279a0a601a3dec0020053733b5ddd39be107 /mojo/edk/test/multiprocess_test_helper_unittest.cc
parent8b5cfe1703c16019566f00190dfd8c972af25c11 (diff)
downloadchromium_src-c39c60923af029e71ba1d30adbf51dec0918031b.zip
chromium_src-c39c60923af029e71ba1d30adbf51dec0918031b.tar.gz
chromium_src-c39c60923af029e71ba1d30adbf51dec0918031b.tar.bz2
Make mojo::edk::PlatformHandle have the same named member on all platforms.
This just cleans up the code as pointed out in an earlier code review. Review URL: https://codereview.chromium.org/1519593003 Cr-Commit-Position: refs/heads/master@{#364706}
Diffstat (limited to 'mojo/edk/test/multiprocess_test_helper_unittest.cc')
-rw-r--r--mojo/edk/test/multiprocess_test_helper_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mojo/edk/test/multiprocess_test_helper_unittest.cc b/mojo/edk/test/multiprocess_test_helper_unittest.cc
index 7e99fb27..84db421 100644
--- a/mojo/edk/test/multiprocess_test_helper_unittest.cc
+++ b/mojo/edk/test/multiprocess_test_helper_unittest.cc
@@ -26,7 +26,7 @@ bool IsNonBlocking(const PlatformHandle& handle) {
// FILE_FLAG_OVERLAPPED.
return true;
#else
- return fcntl(handle.fd, F_GETFL) & O_NONBLOCK;
+ return fcntl(handle.handle, F_GETFL) & O_NONBLOCK;
#endif
}