Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(693)

Unified Diff: third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h

Issue 2220543002: Make Resource::resourceBuffer() to return PassRefPtr<const SharedBuffer> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@WTF_UseIsConvertibleInEnsure
Patch Set: Rebase Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h
diff --git a/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h b/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h
index 2eece57948d0d6212de1195e99ddb7c109708608..a73d816a9b847939191420e732d80bae70a49141 100644
--- a/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h
+++ b/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h
@@ -46,7 +46,7 @@ struct SerializedResource;
class PLATFORM_EXPORT MHTMLArchive final : public GarbageCollected<MHTMLArchive> {
public:
- static MHTMLArchive* create(const KURL&, PassRefPtr<SharedBuffer>);
+ static MHTMLArchive* create(const KURL&, PassRefPtr<const SharedBuffer>);
// Binary encoding results in smaller MHTML files but they might not work in other browsers.
enum EncodingPolicy {

Powered by Google App Engine
This is Rietveld 408576698