diff options
Diffstat (limited to 'ppapi/cpp/dev/find_dev.h')
-rw-r--r-- | ppapi/cpp/dev/find_dev.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/ppapi/cpp/dev/find_dev.h b/ppapi/cpp/dev/find_dev.h index b89160f..4e96f68 100644 --- a/ppapi/cpp/dev/find_dev.h +++ b/ppapi/cpp/dev/find_dev.h @@ -8,11 +8,10 @@ #include <string> #include "ppapi/c/dev/ppp_find_dev.h" +#include "ppapi/cpp/instance_handle.h" namespace pp { -class Instance; - // This class allows you to associate the PPP_Find and PPB_Find C-based // interfaces with an object. It associates itself with the given instance, and // registers as the global handler for handling the PPP_Find interface that the @@ -39,7 +38,7 @@ class Instance; class Find_Dev { public: // The instance parameter must outlive this class. - Find_Dev(Instance* instance); + Find_Dev(const InstanceHandle& instance); virtual ~Find_Dev(); // PPP_Find_Dev functions exposed as virtual functions for you to @@ -53,7 +52,7 @@ class Find_Dev { void SelectedFindResultChanged(int32_t index); private: - Instance* associated_instance_; + InstanceHandle associated_instance_; }; } // namespace pp |