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

Unified Diff: ppapi/examples/gamepad/gamepad.cc

Issue 9651002: Add C++ wrappers for output parameters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: With swapping Created 8 years, 9 months 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
Index: ppapi/examples/gamepad/gamepad.cc
diff --git a/ppapi/examples/gamepad/gamepad.cc b/ppapi/examples/gamepad/gamepad.cc
index eb2c8fc7f43ef86095a32c78d7af0e2476265c59..96a127cc04d830166c0406ff2f55785ec6df99de 100644
--- a/ppapi/examples/gamepad/gamepad.cc
+++ b/ppapi/examples/gamepad/gamepad.cc
@@ -78,7 +78,7 @@ class MyInstance : public pp::Instance {
if (!image.is_null()) {
device_context_.ReplaceContents(&image);
device_context_.Flush(
- callback_factory_.NewRequiredCallback(&MyInstance::OnFlush));
+ callback_factory_.NewCallback(&MyInstance::OnFlush));
} else {
printf("NullImage\n");
}

Powered by Google App Engine
This is Rietveld 408576698