Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2090)

Unified Diff: ppapi/cpp/dev/video_decoder_dev.h

Issue 8965046: Coverity: Fixing pass by value bugs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing 100534 Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/cookie_monster.cc ('k') | ppapi/cpp/dev/video_decoder_dev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/video_decoder_dev.h
diff --git a/ppapi/cpp/dev/video_decoder_dev.h b/ppapi/cpp/dev/video_decoder_dev.h
index 28b7bc251a45ed7d6c1f409ce6a2701d2bddc776..9eb8f2e7ed8fc8fa6ddb6eebeaa723c2087b693b 100644
--- a/ppapi/cpp/dev/video_decoder_dev.h
+++ b/ppapi/cpp/dev/video_decoder_dev.h
@@ -37,7 +37,7 @@ class VideoDecoder_Dev : public Resource {
CompletionCallback callback);
void ReusePictureBuffer(int32_t picture_buffer_id);
int32_t Flush(CompletionCallback callback);
- int32_t Reset(CompletionCallback callback);
+ int32_t Reset(const CompletionCallback& callback);
private:
// Disallow copy-construction to ensure Destroy() is called exactly once.
« no previous file with comments | « net/base/cookie_monster.cc ('k') | ppapi/cpp/dev/video_decoder_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698