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

Unified Diff: ppapi/examples/url_loader/streaming.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/mouse_lock/mouse_lock.cc ('k') | ppapi/native_client/src/trusted/plugin/file_downloader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/examples/url_loader/streaming.cc
diff --git a/ppapi/examples/url_loader/streaming.cc b/ppapi/examples/url_loader/streaming.cc
index b7186aedd6ee8ba24e8f212aae6d63363c414b38..296b74f7edd9ded09722f39d38782e3b64404b40 100644
--- a/ppapi/examples/url_loader/streaming.cc
+++ b/ppapi/examples/url_loader/streaming.cc
@@ -82,7 +82,7 @@ void MyInstance::StartRequest(const std::string& url) {
loader_ = pp::URLLoader(this);
loader_.Open(request,
- factory_.NewRequiredCallback(&MyInstance::OnOpenComplete));
+ factory_.NewCallback(&MyInstance::OnOpenComplete));
}
void MyInstance::OnOpenComplete(int32_t result) {
« no previous file with comments | « ppapi/examples/mouse_lock/mouse_lock.cc ('k') | ppapi/native_client/src/trusted/plugin/file_downloader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698