| Index: third_party/WebKit/Source/platform/mhtml/MHTMLArchive.cpp
|
| diff --git a/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.cpp b/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.cpp
|
| index d3d739024089fe65f2ab4ab6cc0446c5710fca06..da1f0b6cb63d0fdecef002b82994933587070db9 100644
|
| --- a/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.cpp
|
| +++ b/third_party/WebKit/Source/platform/mhtml/MHTMLArchive.cpp
|
| @@ -71,18 +71,18 @@ MHTMLArchive::~MHTMLArchive()
|
| {
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<MHTMLArchive> MHTMLArchive::create(const KURL& url, SharedBuffer* data)
|
| +RawPtr<MHTMLArchive> MHTMLArchive::create(const KURL& url, SharedBuffer* data)
|
| {
|
| // For security reasons we only load MHTML pages from local URLs.
|
| if (!SchemeRegistry::shouldTreatURLSchemeAsLocal(url.protocol()))
|
| return nullptr;
|
|
|
| MHTMLParser parser(data);
|
| - WillBeHeapVector<RefPtrWillBeMember<ArchiveResource>> resources = parser.parseArchive();
|
| + HeapVector<Member<ArchiveResource>> resources = parser.parseArchive();
|
| if (resources.isEmpty())
|
| return nullptr; // Invalid MHTML file.
|
|
|
| - RefPtrWillBeRawPtr<MHTMLArchive> archive = adoptRefWillBeNoop(new MHTMLArchive);
|
| + RawPtr<MHTMLArchive> archive = adoptRefWillBeNoop(new MHTMLArchive);
|
| // The first document suitable resource is the main resource of the top frame.
|
| for (size_t i = 0; i < resources.size(); ++i) {
|
| const AtomicString& mimeType = resources[i]->mimeType();
|
| @@ -220,7 +220,7 @@ void MHTMLArchive::generateMHTMLFooter(
|
| outputBuffer.append(asciiString.data(), asciiString.length());
|
| }
|
|
|
| -void MHTMLArchive::setMainResource(PassRefPtrWillBeRawPtr<ArchiveResource> mainResource)
|
| +void MHTMLArchive::setMainResource(RawPtr<ArchiveResource> mainResource)
|
| {
|
| m_mainResource = mainResource;
|
| }
|
|
|