Index: ppapi/cpp/url_request_info.cc |
diff --git a/ppapi/cpp/url_request_info.cc b/ppapi/cpp/url_request_info.cc |
index 1b31240ca7fe26138e4f6e0228c81678221850e9..c7cd22ef3a7f8205fde64757b09446bccbe11542 100644 |
--- a/ppapi/cpp/url_request_info.cc |
+++ b/ppapi/cpp/url_request_info.cc |
@@ -5,7 +5,7 @@ |
#include "ppapi/cpp/url_request_info.h" |
#include "ppapi/cpp/file_ref.h" |
-#include "ppapi/cpp/instance.h" |
+#include "ppapi/cpp/instance_handle.h" |
#include "ppapi/cpp/module.h" |
#include "ppapi/cpp/module_impl.h" |
@@ -19,11 +19,11 @@ template <> const char* interface_name<PPB_URLRequestInfo>() { |
} // namespace |
-URLRequestInfo::URLRequestInfo(Instance* instance) { |
+URLRequestInfo::URLRequestInfo(const InstanceHandle& instance) { |
if (!has_interface<PPB_URLRequestInfo>()) |
return; |
PassRefFromConstructor( |
- get_interface<PPB_URLRequestInfo>()->Create(instance->pp_instance())); |
+ get_interface<PPB_URLRequestInfo>()->Create(instance.pp_instance())); |
} |
URLRequestInfo::URLRequestInfo(const URLRequestInfo& other) |