| Index: ppapi/cpp/completion_callback.h
|
| diff --git a/ppapi/cpp/completion_callback.h b/ppapi/cpp/completion_callback.h
|
| index f1a20b37b6e40505a729283c0ab446c9075ed8f7..3d142e89973b09c36dfd26ec4c8afe12e816b693 100644
|
| --- a/ppapi/cpp/completion_callback.h
|
| +++ b/ppapi/cpp/completion_callback.h
|
| @@ -185,6 +185,8 @@ class CompletionCallbackWithOutput : public CompletionCallback {
|
| /// specializations for all of these cases.
|
| typedef typename internal::CallbackOutputTraits<T>::StorageType
|
| OutputStorageType;
|
| + typedef typename internal::CallbackOutputTraits<T>::APIArgType
|
| + APIArgType;
|
|
|
| /// The default constructor will create a blocking
|
| /// <code>CompletionCallback</code> that references the given output
|
| @@ -237,7 +239,9 @@ class CompletionCallbackWithOutput : public CompletionCallback {
|
| output_(output) {
|
| }
|
|
|
| - OutputStorageType* output() const { return output_; }
|
| + APIArgType output() const {
|
| + return internal::CallbackOutputTraits<T>::StorageToAPIArg(*output_);
|
| + }
|
|
|
| private:
|
| OutputStorageType* output_;
|
|
|