diff options
Diffstat (limited to 'www/chromium-uc/patches/core/inox-patchset/0003-disable-autofill-download-manager.patch')
| -rw-r--r-- | www/chromium-uc/patches/core/inox-patchset/0003-disable-autofill-download-manager.patch | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/www/chromium-uc/patches/core/inox-patchset/0003-disable-autofill-download-manager.patch b/www/chromium-uc/patches/core/inox-patchset/0003-disable-autofill-download-manager.patch index a692d80..b3f1614 100644 --- a/www/chromium-uc/patches/core/inox-patchset/0003-disable-autofill-download-manager.patch +++ b/www/chromium-uc/patches/core/inox-patchset/0003-disable-autofill-download-manager.patch | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | --- a/components/autofill/core/browser/autofill_download_manager.cc | 1 | --- components/autofill/core/browser/autofill_download_manager.cc.orig |
| 2 | +++ b/components/autofill/core/browser/autofill_download_manager.cc | 2 | +++ components/autofill/core/browser/autofill_download_manager.cc |
| 3 | @@ -802,94 +802,6 @@ std::tuple<GURL, std::string> AutofillDo | 3 | @@ -824,96 +824,6 @@ std::tuple<GURL, std::string> AutofillDo |
| 4 | } | 4 | } |
| 5 | 5 | ||
| 6 | bool AutofillDownloadManager::StartRequest(FormRequestData request_data) { | 6 | bool AutofillDownloadManager::StartRequest(FormRequestData request_data) { |
| @@ -9,7 +9,9 @@ | |||
| 9 | - DCHECK(url_loader_factory); | 9 | - DCHECK(url_loader_factory); |
| 10 | - | 10 | - |
| 11 | - // Get the URL and method to use for this request. | 11 | - // Get the URL and method to use for this request. |
| 12 | - auto [request_url, method] = GetRequestURLAndMethod(request_data); | 12 | - std::string method; |
| 13 | - GURL request_url; | ||
| 14 | - std::tie(request_url, method) = GetRequestURLAndMethod(request_data); | ||
| 13 | - | 15 | - |
| 14 | - // Track the URL length for GET queries because the URL length can be in the | 16 | - // Track the URL length for GET queries because the URL length can be in the |
| 15 | - // thousands when rich metadata is enabled. | 17 | - // thousands when rich metadata is enabled. |
| @@ -27,7 +29,7 @@ | |||
| 27 | - // On iOS we have a single, shared URLLoaderFactory provided by BrowserState. | 29 | - // On iOS we have a single, shared URLLoaderFactory provided by BrowserState. |
| 28 | - // As it is shared, it is not trusted and we cannot assign trusted_params | 30 | - // As it is shared, it is not trusted and we cannot assign trusted_params |
| 29 | - // to the network request. | 31 | - // to the network request. |
| 30 | -#if !BUILDFLAG(IS_IOS) | 32 | -#if !defined(OS_IOS) |
| 31 | - // Do not call IsolationInfo() for REQUEST_UPLOADs because Password Manager | 33 | - // Do not call IsolationInfo() for REQUEST_UPLOADs because Password Manager |
| 32 | - // uploads when RenderFrameHostImpl::DidCommitNavigation() is called, in which | 34 | - // uploads when RenderFrameHostImpl::DidCommitNavigation() is called, in which |
| 33 | - // case IsolationInfo() may crash because there is no committing | 35 | - // case IsolationInfo() may crash because there is no committing |
