Index: ppapi/thunk/ppb_url_request_info_thunk.cc |
diff --git a/ppapi/thunk/ppb_url_request_info_thunk.cc b/ppapi/thunk/ppb_url_request_info_thunk.cc |
index 5c99d18645d6a2a1361d0c6b16a39df44cec4f05..4f41881ef493b9e9ec1fc8c899d0f85d3d88c740 100644 |
--- a/ppapi/thunk/ppb_url_request_info_thunk.cc |
+++ b/ppapi/thunk/ppb_url_request_info_thunk.cc |
@@ -2,6 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "ppapi/shared_impl/url_request_info_impl.h" |
#include "ppapi/thunk/thunk.h" |
#include "ppapi/thunk/enter.h" |
#include "ppapi/thunk/ppb_url_request_info_api.h" |
@@ -16,7 +17,8 @@ PP_Resource Create(PP_Instance instance) { |
EnterFunction<ResourceCreationAPI> enter(instance, true); |
if (enter.failed()) |
return 0; |
- return enter.functions()->CreateURLRequestInfo(instance); |
+ return enter.functions()->CreateURLRequestInfo( |
+ instance, PPB_URLRequestInfo_Data()); |
} |
PP_Bool IsURLRequestInfo(PP_Resource resource) { |