Index: ppapi/example/example.cc |
diff --git a/ppapi/example/example.cc b/ppapi/example/example.cc |
index 8319d4981da6c57e85d9a00378e34c89d9bc036e..17ac0370886d7963d4eedbd0f0d84acdcb6a3610 100644 |
--- a/ppapi/example/example.cc |
+++ b/ppapi/example/example.cc |
@@ -98,14 +98,14 @@ class MyFetcher { |
callback_factory_.Initialize(this); |
} |
- void Start(const pp::InstancePrivate& instance, |
+ void Start(pp::Instance* instance, |
const pp::Var& url, |
MyFetcherClient* client) { |
pp::URLRequestInfo request; |
request.SetURL(url); |
request.SetMethod("GET"); |
- loader_ = pp::URLLoader(instance); |
+ loader_ = pp::URLLoader(pp::InstanceHandle(instance)); |
client_ = client; |
pp::CompletionCallback callback = |
@@ -415,7 +415,7 @@ int gettimeofday(struct timeval *tv, struct timezone*) { |
if (!fetcher_) { |
fetcher_ = new MyFetcher(); |
- fetcher_->Start(*this, href, this); |
+ fetcher_->Start(this, href, this); |
} |
} |