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

Unified Diff: ppapi/tests/test_case.cc

Issue 547543002: Fix potential race-condition _beginthread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix review issues Created 6 years, 3 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
« no previous file with comments | « ppapi/tests/pp_thread.h ('k') | ppapi/tests/test_post_message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/tests/test_case.cc
diff --git a/ppapi/tests/test_case.cc b/ppapi/tests/test_case.cc
index 52ec30619caa1f96463cb702d52fbff2108744cc..a2575560ca3cf916450fd8acb23aed4642b84c33 100644
--- a/ppapi/tests/test_case.cc
+++ b/ppapi/tests/test_case.cc
@@ -251,7 +251,7 @@ void TestCase::RunOnThreadInternal(
void (*thread_func)(void*),
void* thread_param,
const PPB_Testing_Private* testing_interface) {
- PP_ThreadType thread;
+ PP_Thread thread;
PP_CreateThread(&thread, thread_func, thread_param);
// Run a message loop so pepper calls can be dispatched. The background
// thread will set result_ and make us Quit when it's done.
« no previous file with comments | « ppapi/tests/pp_thread.h ('k') | ppapi/tests/test_post_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698