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, 5 insertions, 7 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 b3f1614..a692d80 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 | --- components/autofill/core/browser/autofill_download_manager.cc.orig | 1 | --- a/components/autofill/core/browser/autofill_download_manager.cc |
| 2 | +++ components/autofill/core/browser/autofill_download_manager.cc | 2 | +++ b/components/autofill/core/browser/autofill_download_manager.cc |
| 3 | @@ -824,96 +824,6 @@ std::tuple<GURL, std::string> AutofillDo | 3 | @@ -802,94 +802,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,9 +9,7 @@ | |||
| 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 | - std::string method; | 12 | - auto [request_url, method] = GetRequestURLAndMethod(request_data); |
| 13 | - GURL request_url; | ||
| 14 | - std::tie(request_url, method) = GetRequestURLAndMethod(request_data); | ||
| 15 | - | 13 | - |
| 16 | - // Track the URL length for GET queries because the URL length can be in the | 14 | - // Track the URL length for GET queries because the URL length can be in the |
| 17 | - // thousands when rich metadata is enabled. | 15 | - // thousands when rich metadata is enabled. |
| @@ -29,7 +27,7 @@ | |||
| 29 | - // On iOS we have a single, shared URLLoaderFactory provided by BrowserState. | 27 | - // On iOS we have a single, shared URLLoaderFactory provided by BrowserState. |
| 30 | - // As it is shared, it is not trusted and we cannot assign trusted_params | 28 | - // As it is shared, it is not trusted and we cannot assign trusted_params |
| 31 | - // to the network request. | 29 | - // to the network request. |
| 32 | -#if !defined(OS_IOS) | 30 | -#if !BUILDFLAG(IS_IOS) |
| 33 | - // Do not call IsolationInfo() for REQUEST_UPLOADs because Password Manager | 31 | - // Do not call IsolationInfo() for REQUEST_UPLOADs because Password Manager |
| 34 | - // uploads when RenderFrameHostImpl::DidCommitNavigation() is called, in which | 32 | - // uploads when RenderFrameHostImpl::DidCommitNavigation() is called, in which |
| 35 | - // case IsolationInfo() may crash because there is no committing | 33 | - // case IsolationInfo() may crash because there is no committing |
