Index: ppapi/cpp/dev/video_decoder_dev.cc |
diff --git a/ppapi/cpp/dev/video_decoder_dev.cc b/ppapi/cpp/dev/video_decoder_dev.cc |
index 7110695ac5ec0c2f4df4941ed7e01179ba4a80a8..dcc731229074f9fa5c1b1dcf10e36f390a7596bc 100644 |
--- a/ppapi/cpp/dev/video_decoder_dev.cc |
+++ b/ppapi/cpp/dev/video_decoder_dev.cc |
@@ -69,7 +69,7 @@ int32_t VideoDecoder_Dev::Flush(CompletionCallback callback) { |
pp_resource(), callback.pp_completion_callback()); |
} |
-int32_t VideoDecoder_Dev::Reset(CompletionCallback callback) { |
+int32_t VideoDecoder_Dev::Reset(const CompletionCallback& callback) { |
if (!has_interface<PPB_VideoDecoder_Dev>()) |
return callback.MayForce(PP_ERROR_NOINTERFACE); |
return get_interface<PPB_VideoDecoder_Dev>()->Reset( |