Index: ppapi/cpp/dev/message_loop_dev.h |
diff --git a/ppapi/cpp/dev/message_loop_dev.h b/ppapi/cpp/dev/message_loop_dev.h |
index b558ea41a27fa33af37cef92b3481add36a9344c..11f1dfaced2f55758b306d269ac13f6d67cc5082 100644 |
--- a/ppapi/cpp/dev/message_loop_dev.h |
+++ b/ppapi/cpp/dev/message_loop_dev.h |
@@ -10,7 +10,7 @@ |
namespace pp { |
class CompletionCallback; |
-class Instance; |
+class InstanceHandle; |
/// A message loop allows PPAPI calls to be issued on a thread. You may not |
/// issue any API calls on a thread without creating a message loop. It also |
@@ -135,7 +135,7 @@ class MessageLoop_Dev : public Resource { |
/// This may be called from any thread. After your thread starts but before |
/// issuing any other PPAPI calls on it, you must associate it with a message |
/// loop by calling AttachToCurrentThread. |
- explicit MessageLoop_Dev(Instance* instance); |
+ explicit MessageLoop_Dev(const InstanceHandle& instance); |
MessageLoop_Dev(const MessageLoop_Dev& other); |