Index: ppapi/cpp/url_loader.h |
diff --git a/ppapi/cpp/url_loader.h b/ppapi/cpp/url_loader.h |
index 6074cb9bebd50c97abbf089970a63714f6a92b53..016eb21c4eee4bf42dddac26a833efc1d824e872 100644 |
--- a/ppapi/cpp/url_loader.h |
+++ b/ppapi/cpp/url_loader.h |
@@ -13,7 +13,7 @@ |
namespace pp { |
class CompletionCallback; |
-class Instance; |
+class InstanceHandle; |
class URLRequestInfo; |
class URLResponseInfo; |
@@ -28,7 +28,7 @@ class URLLoader : public Resource { |
// TODO(brettw) remove this when NaCl is updated to use the new version |
// that takes a pointer. |
- explicit URLLoader(const Instance& instance); |
+ //explicit URLLoader(const Instance& instance); |
/// A constructor used when a <code>PP_Resource</code> is provided as a |
/// return value whose reference count we need to increment. |
@@ -40,8 +40,9 @@ class URLLoader : public Resource { |
/// A constructor used to allocate a new URLLoader in the browser. The |
/// resulting object will be <code>is_null</code> if the allocation failed. |
/// |
- /// @param[in] instance An <code>Instance</code>. |
- explicit URLLoader(Instance* instance); |
+ /// @param[in] instance The instance with which this resource will be |
+ /// associated. |
+ explicit URLLoader(const InstanceHandle& instance); |
/// The copy constructor for <code>URLLoader</code>. |
/// |