Chromium Code Reviews| Index: ppapi/utility/threading/simple_thread.h |
| diff --git a/ppapi/utility/threading/simple_thread.h b/ppapi/utility/threading/simple_thread.h |
| index a093961bf539fbe45715035969bd51351dc83ab1..ebaa6288cab0c2595c415345f12d96a28f0d14a0 100644 |
| --- a/ppapi/utility/threading/simple_thread.h |
| +++ b/ppapi/utility/threading/simple_thread.h |
| @@ -12,6 +12,7 @@ |
| #endif |
| #include "ppapi/cpp/dev/message_loop_dev.h" |
| +#include "ppapi/cpp/instance_handle.h" |
| namespace pp { |
| @@ -27,7 +28,7 @@ class SimpleThread { |
| typedef void (*ThreadFunc)(MessageLoop_Dev&, void* user_data); |
| - SimpleThread(Instance* instance); |
| + SimpleThread(const InstanceHandle& instance); |
|
dmichael (off chromium)
2012/02/21 23:38:02
explicit
|
| ~SimpleThread(); |
| // Starts a thread and runs a message loop in it. If you need control over |
| @@ -49,7 +50,7 @@ class SimpleThread { |
| ThreadHandle thread() const { return thread_; } |
| private: |
| - Instance* instance_; |
| + InstanceHandle instance_; |
| MessageLoop_Dev message_loop_; |
| ThreadHandle thread_; |