Index: chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc |
diff --git a/chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc b/chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc |
index c29dc83d838a342a1508accb69dbf12e0e012ab7..db4bc549a214a58a6465e49ca075a38f5f656c13 100644 |
--- a/chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc |
+++ b/chrome/test/data/nacl/manifest_file/irt_manifest_file_test.cc |
@@ -8,6 +8,7 @@ |
// Test for resource open before PPAPI initialization. |
// |
+#include <pthread.h> |
#include <stdio.h> |
#include <string.h> |
@@ -150,15 +151,16 @@ class TestInstance : public pp::Instance { |
return; |
} |
+ pthread_t thread; |
// We test the manifest routines again after PPAPI has initialized to |
// ensure that they still work. |
// |
// irt_open_resource() isn't allowed to be called on the main thread once |
// pepper starts, so these tests must happen on a background thread. |
- pthread_create(&thread_, NULL, &RunTestsOnBackgroundThread, NULL); |
+ // |
+ // TODO(teravest): Check the return value here. |
+ pthread_create(&thread, NULL, &RunTestsOnBackgroundThread, NULL); |
} |
- private: |
- pthread_t thread_; |
}; |
class TestModule : public pp::Module { |