| Index: webkit/plugins/ppapi/ppb_url_loader_impl.h
|
| diff --git a/webkit/plugins/ppapi/ppb_url_loader_impl.h b/webkit/plugins/ppapi/ppb_url_loader_impl.h
|
| index 429a0420d422769fb92d1b154d80105aa68a0286..f45181bd4f5d25c5084146d2c7860e22809cb04e 100644
|
| --- a/webkit/plugins/ppapi/ppb_url_loader_impl.h
|
| +++ b/webkit/plugins/ppapi/ppb_url_loader_impl.h
|
| @@ -12,6 +12,7 @@
|
| #include "ppapi/c/pp_completion_callback.h"
|
| #include "ppapi/c/trusted/ppb_url_loader_trusted.h"
|
| #include "ppapi/shared_impl/resource.h"
|
| +#include "ppapi/shared_impl/url_request_info_impl.h"
|
| #include "ppapi/thunk/ppb_url_loader_api.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLLoaderClient.h"
|
| #include "webkit/plugins/ppapi/callbacks.h"
|
| @@ -121,8 +122,13 @@ class PPB_URLLoader_Impl : public ::ppapi::Resource,
|
| // If true, then the plugin instance is a full-frame plugin and we're just
|
| // wrapping the main document's loader (i.e. loader_ is null).
|
| bool main_document_loader_;
|
| +
|
| + // Keep a copy of the request data. We specifically do this instead of
|
| + // keeping a reference to the request resource, because the plugin might
|
| + // change the request info resource out from under us.
|
| + ::ppapi::PPB_URLRequestInfo_Data request_data_;
|
| +
|
| scoped_ptr<WebKit::WebURLLoader> loader_;
|
| - scoped_refptr<PPB_URLRequestInfo_Impl> request_info_;
|
| scoped_refptr<PPB_URLResponseInfo_Impl> response_info_;
|
| scoped_refptr<TrackedCompletionCallback> pending_callback_;
|
| std::deque<char> buffer_;
|
|
|