summaryrefslogtreecommitdiffstats
path: root/ppapi/example/example.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/example/example.cc')
-rw-r--r--ppapi/example/example.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ppapi/example/example.cc b/ppapi/example/example.cc
index 2b5ab76..1eec317 100644
--- a/ppapi/example/example.cc
+++ b/ppapi/example/example.cc
@@ -97,10 +97,10 @@ class MyFetcher {
callback_factory_.Initialize(this);
}
- void Start(const pp::InstancePrivate& instance,
+ void Start(pp::InstancePrivate& instance,
const pp::Var& url,
MyFetcherClient* client) {
- pp::URLRequestInfo request;
+ pp::URLRequestInfo request(&instance);
request.SetURL(url);
request.SetMethod("GET");