diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-02-13 16:23:34 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-02-14 10:37:21 +0000 |
commit | 38a9a29f4f9436cace7f0e7abf9c586057df8a4e (patch) | |
tree | c4e8c458dc595bc0ddb435708fa2229edfd00bd4 /chromium/third_party/blink/renderer/platform/mhtml | |
parent | e684a3455bcc29a6e3e66a004e352dea4e1141e7 (diff) | |
download | qtwebengine-chromium-38a9a29f4f9436cace7f0e7abf9c586057df8a4e.tar.gz |
BASELINE: Update Chromium to 73.0.3683.37
Change-Id: I08c9af2948b645f671e5d933aca1f7a90ea372f2
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/mhtml')
-rw-r--r-- | chromium/third_party/blink/renderer/platform/mhtml/archive_resource.cc | 4 | ||||
-rw-r--r-- | chromium/third_party/blink/renderer/platform/mhtml/archive_resource.h | 11 |
2 files changed, 7 insertions, 8 deletions
diff --git a/chromium/third_party/blink/renderer/platform/mhtml/archive_resource.cc b/chromium/third_party/blink/renderer/platform/mhtml/archive_resource.cc index 9e6003dcbdb..21785322aee 100644 --- a/chromium/third_party/blink/renderer/platform/mhtml/archive_resource.cc +++ b/chromium/third_party/blink/renderer/platform/mhtml/archive_resource.cc @@ -50,8 +50,8 @@ ArchiveResource* ArchiveResource::Create(scoped_refptr<SharedBuffer> data, const String& content_id, const AtomicString& mime_type, const AtomicString& text_encoding) { - return new ArchiveResource(std::move(data), url, content_id, mime_type, - text_encoding); + return MakeGarbageCollected<ArchiveResource>(std::move(data), url, content_id, + mime_type, text_encoding); } } // namespace blink diff --git a/chromium/third_party/blink/renderer/platform/mhtml/archive_resource.h b/chromium/third_party/blink/renderer/platform/mhtml/archive_resource.h index 9c012991d36..7dcc5be2f40 100644 --- a/chromium/third_party/blink/renderer/platform/mhtml/archive_resource.h +++ b/chromium/third_party/blink/renderer/platform/mhtml/archive_resource.h @@ -46,6 +46,11 @@ class PLATFORM_EXPORT ArchiveResource final const AtomicString& mime_type, const AtomicString& text_encoding); + ArchiveResource(scoped_refptr<SharedBuffer>, + const KURL&, + const String& content_id, + const AtomicString& mime_type, + const AtomicString& text_encoding); ~ArchiveResource(); const KURL& Url() const { return url_; } @@ -57,12 +62,6 @@ class PLATFORM_EXPORT ArchiveResource final void Trace(blink::Visitor* visitor) {} private: - ArchiveResource(scoped_refptr<SharedBuffer>, - const KURL&, - const String& content_id, - const AtomicString& mime_type, - const AtomicString& text_encoding); - KURL url_; String content_id_; scoped_refptr<SharedBuffer> data_; |