Chromium Code Reviews| Index: ppapi/tests/test_utils.h |
| diff --git a/ppapi/tests/test_utils.h b/ppapi/tests/test_utils.h |
| index e61efbddcd5a089422f1842a25e5e87b81397ae5..a67173a4efed1b3a4b760fcb4de24eec8b7a458e 100644 |
| --- a/ppapi/tests/test_utils.h |
| +++ b/ppapi/tests/test_utils.h |
| @@ -190,7 +190,10 @@ class TestCompletionCallbackWithOutput : public TestCompletionCallback { |
| return GetCallbackWithOutput(); |
| } |
| - const OutputT& output() { return output_storage_.output(); } |
| + OutputT output() { |
|
yzshen1
2013/03/21 21:06:31
I think this should be OutputT&.
|
| + return pp::internal::CallbackOutputTraits<OutputT>::StorageToPluginArg( |
| + output_storage_); |
| + } |
| typename pp::CompletionCallbackWithOutput<OutputT>::OutputStorageType |
| output_storage_; |