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

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

Issue 9615050: Remove NewRequiredCallback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 7006dd1796e8d14a269f9ae3063bb6306918dd6b..d308eb870afe843126966056bd2d3df907290526 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