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

Unified Diff: ppapi/examples/url_loader/streaming.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/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) {

Powered by Google App Engine
This is Rietveld 408576698