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

Unified Diff: ppapi/cpp/dev/message_loop_dev.h

Issue 9381010: Convert resources to take an instance key instead of an Instance*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: USELESS PATCH TITLE Created 8 years, 10 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/cpp/dev/ime_input_event_dev.cc ('k') | ppapi/cpp/dev/message_loop_dev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « ppapi/cpp/dev/ime_input_event_dev.cc ('k') | ppapi/cpp/dev/message_loop_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698