Index: base/test/multiprocess_test_android.cc |
diff --git a/base/test/multiprocess_test_android.cc b/base/test/multiprocess_test_android.cc |
index f5025527298d70b4861f9690b897fcfb95343928..839d9de6591669374a82c3ff9ccc6f6ff752bf16 100644 |
--- a/base/test/multiprocess_test_android.cc |
+++ b/base/test/multiprocess_test_android.cc |
@@ -33,11 +33,9 @@ SpawnChildResult SpawnMultiProcessTestChild( |
std::vector<int> fd_keys; |
std::vector<int> fd_fds; |
- if (options.fds_to_remap) { |
- for (auto& iter : *options.fds_to_remap) { |
- fd_keys.push_back(iter.second); |
- fd_fds.push_back(iter.first); |
- } |
+ for (auto& iter : options.fds_to_remap) { |
+ fd_keys.push_back(iter.second); |
+ fd_fds.push_back(iter.first); |
} |
android::ScopedJavaLocalRef<jobjectArray> fds = |