diff options
Diffstat (limited to 'ppapi/thunk/enter.h')
-rw-r--r-- | ppapi/thunk/enter.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/ppapi/thunk/enter.h b/ppapi/thunk/enter.h index dc06381..b7e2f8b 100644 --- a/ppapi/thunk/enter.h +++ b/ppapi/thunk/enter.h @@ -52,11 +52,9 @@ class EnterFunction { bool succeeded() const { return !!functions_; } bool failed() const { return !functions_; } - PP_Instance instance() const { return instance_; } FunctionsT* functions() { return functions_; } private: - PP_Instance instance_; FunctionsT* functions_; DISALLOW_COPY_AND_ASSIGN(EnterFunction); @@ -73,20 +71,6 @@ class EnterFunctionNoLock : public EnterFunction<FunctionsT> { } }; -// Used when a caller has a resource, and wants to do EnterFunction for the -// instance corresponding to that resource. -template<typename FunctionsT> -class EnterFunctionGivenResource : public EnterFunction<FunctionsT> { - public: - EnterFunctionGivenResource(PP_Resource resource, bool report_error) - : EnterFunction<FunctionsT>( - TrackerBase::Get()->GetInstanceForResource(resource), - report_error) { - } -}; - -// EnterResource --------------------------------------------------------------- - template<typename ResourceT> class EnterResource { public: |