| 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 2ce0ab5a105b1d6d9f54999750bc5632599d1835..d0bca90f6206792b44a8b26b8f788323f3e6511c 100644
|
| --- a/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h
|
| +++ b/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.h
|
| @@ -47,9 +47,9 @@ class SharedBuffer;
|
|
|
| struct SerializedResource;
|
|
|
| -class PLATFORM_EXPORT MHTMLArchive final : public RefCountedWillBeGarbageCollectedFinalized<MHTMLArchive> {
|
| +class PLATFORM_EXPORT MHTMLArchive final : public GarbageCollectedFinalized<MHTMLArchive> {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<MHTMLArchive> create(const KURL&, SharedBuffer*);
|
| + static RawPtr<MHTMLArchive> create(const KURL&, SharedBuffer*);
|
| ~MHTMLArchive();
|
|
|
| // Binary encoding results in smaller MHTML files but they might not work in other browsers.
|
| @@ -90,7 +90,7 @@ public:
|
| const String& boundary,
|
| SharedBuffer& outputBuffer);
|
|
|
| - typedef WillBeHeapHashMap<String, RefPtrWillBeMember<ArchiveResource>> SubArchiveResources;
|
| + typedef HeapHashMap<String, Member<ArchiveResource>> SubArchiveResources;
|
|
|
| ArchiveResource* mainResource() { return m_mainResource.get(); }
|
| ArchiveResource* subresourceForURL(const KURL&) const;
|
| @@ -100,10 +100,10 @@ public:
|
| private:
|
| MHTMLArchive();
|
|
|
| - void setMainResource(PassRefPtrWillBeRawPtr<ArchiveResource>);
|
| + void setMainResource(RawPtr<ArchiveResource>);
|
| void addSubresource(ArchiveResource*);
|
|
|
| - RefPtrWillBeMember<ArchiveResource> m_mainResource;
|
| + Member<ArchiveResource> m_mainResource;
|
| SubArchiveResources m_subresources;
|
| };
|
|
|
|
|