mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium version 76.0.3809.0 (#665002)
OSR tests will be fixed by a follow-up merge of Viz support (see issue #2575).
This commit is contained in:
committed by
Marshall Greenblatt
parent
5892ffc382
commit
cc0db5f166
36
patch/patches/web_url_loader_cancel_1617042.patch
Normal file
36
patch/patches/web_url_loader_cancel_1617042.patch
Normal file
@ -0,0 +1,36 @@
|
||||
diff --git content/renderer/loader/web_url_loader_impl.h content/renderer/loader/web_url_loader_impl.h
|
||||
index 9ce1066841fc..b83e4bcc8969 100644
|
||||
--- content/renderer/loader/web_url_loader_impl.h
|
||||
+++ content/renderer/loader/web_url_loader_impl.h
|
||||
@@ -86,6 +86,7 @@ class CONTENT_EXPORT WebURLLoaderImpl : public blink::WebURLLoader {
|
||||
blink::WebBlobInfo& downloaded_blob) override;
|
||||
void LoadAsynchronously(const blink::WebURLRequest& request,
|
||||
blink::WebURLLoaderClient* client) override;
|
||||
+ void Cancel() override;
|
||||
void SetDefersLoading(bool value) override;
|
||||
void DidChangePriority(blink::WebURLRequest::Priority new_priority,
|
||||
int intra_priority_value) override;
|
||||
@@ -96,8 +97,6 @@ class CONTENT_EXPORT WebURLLoaderImpl : public blink::WebURLLoader {
|
||||
class RequestPeerImpl;
|
||||
class SinkPeer;
|
||||
|
||||
- void Cancel();
|
||||
-
|
||||
scoped_refptr<Context> context_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(WebURLLoaderImpl);
|
||||
diff --git third_party/blink/public/platform/web_url_loader.h third_party/blink/public/platform/web_url_loader.h
|
||||
index 7bb0b6bf25dc..d0b6bf5a887b 100644
|
||||
--- third_party/blink/public/platform/web_url_loader.h
|
||||
+++ third_party/blink/public/platform/web_url_loader.h
|
||||
@@ -71,6 +71,10 @@ class WebURLLoader {
|
||||
virtual void LoadAsynchronously(const WebURLRequest&,
|
||||
WebURLLoaderClient*) = 0;
|
||||
|
||||
+ // Cancels an asynchronous load. This will appear as a load error to
|
||||
+ // the client.
|
||||
+ virtual void Cancel() {}
|
||||
+
|
||||
// Suspends/resumes an asynchronous load.
|
||||
virtual void SetDefersLoading(bool) = 0;
|
||||
|
Reference in New Issue
Block a user