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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 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;
};

Powered by Google App Engine
This is Rietveld 408576698