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

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
« no previous file with comments | « ppapi/examples/flash_topmost/flash_topmost.cc ('k') | ppapi/examples/mouse_lock/mouse_lock.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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");
}
« no previous file with comments | « ppapi/examples/flash_topmost/flash_topmost.cc ('k') | ppapi/examples/mouse_lock/mouse_lock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698