diff options
author | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-31 23:42:20 +0000 |
---|---|---|
committer | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-31 23:42:20 +0000 |
commit | 4638c7d39d1652f7b9363e14dd6f52310f7103c0 (patch) | |
tree | 5f91a69f94ddb0c11568e02a7c3b1648fab01313 /chrome_frame/npapi_url_request.h | |
parent | 8e2f6646eb8ecb8805983f6816af280f214818b0 (diff) | |
download | chromium_src-4638c7d39d1652f7b9363e14dd6f52310f7103c0.zip chromium_src-4638c7d39d1652f7b9363e14dd6f52310f7103c0.tar.gz chromium_src-4638c7d39d1652f7b9363e14dd6f52310f7103c0.tar.bz2 |
Fix a crash whereby a non-thread-safe ref-counted net::UploadData is used between threads. This patch does this by wrapping the UploadData structure in a thread-safe container for use between threads.
BUG=39453
TEST=none
Review URL: http://codereview.chromium.org/1508012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43287 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/npapi_url_request.h')
-rw-r--r-- | chrome_frame/npapi_url_request.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/npapi_url_request.h b/chrome_frame/npapi_url_request.h index 2e6b39c..64817eb 100644 --- a/chrome_frame/npapi_url_request.h +++ b/chrome_frame/npapi_url_request.h @@ -36,7 +36,7 @@ class NPAPIUrlRequestManager : public PluginUrlRequestManager, // PluginUrlRequestManager implementation. Called from AutomationClient. virtual bool IsThreadSafe(); virtual void StartRequest(int request_id, - const IPC::AutomationURLRequest& request_info); + const ThreadSafeAutomationUrlRequest& request_info); virtual void ReadRequest(int request_id, int bytes_to_read); virtual void EndRequest(int request_id); virtual void DownloadRequestInHost(int request_id) { |