Index: chrome/test/ppapi/ppapi_browsertest.cc |
diff --git a/chrome/test/ppapi/ppapi_browsertest.cc b/chrome/test/ppapi/ppapi_browsertest.cc |
index e7e7f9c9eb63d688dee342e6a713261297967c69..6736d88bd8d13d3df053f156a24b3c9f0f81110c 100644 |
--- a/chrome/test/ppapi/ppapi_browsertest.cc |
+++ b/chrome/test/ppapi/ppapi_browsertest.cc |
@@ -887,7 +887,11 @@ TEST_PPAPI_OUT_OF_PROCESS(MessageLoop_Basics) |
// slowness, particularly on Windows XP. If this test times out, please try |
// marking it SLOW_ before disabling. |
// - dmichael |
+// MessageLoop_Post starts a thread so only run it if pepper threads are |
+// enabled. |
+#ifdef ENABLE_PEPPER_THREADING |
TEST_PPAPI_OUT_OF_PROCESS(MessageLoop_Post) |
+#endif |
// Only enabled in out-of-process mode. |
TEST_PPAPI_OUT_OF_PROCESS(FlashFile_CreateTemporaryFile) |