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

Unified Diff: third_party/WebKit/Source/core/fetch/FontResource.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/core/fetch/FontResource.h
diff --git a/third_party/WebKit/Source/core/fetch/FontResource.h b/third_party/WebKit/Source/core/fetch/FontResource.h
index e2d542f12b5a1e3ab379606e76af71708ee4d246..86e0b2b9cbc14740193381104508535c32af85f2 100644
--- a/third_party/WebKit/Source/core/fetch/FontResource.h
+++ b/third_party/WebKit/Source/core/fetch/FontResource.h
@@ -44,7 +44,7 @@ class FontResource final : public Resource {
public:
using ClientType = FontResourceClient;
- static PassRefPtrWillBeRawPtr<FontResource> fetch(FetchRequest&, ResourceFetcher*);
+ static RawPtr<FontResource> fetch(FetchRequest&, ResourceFetcher*);
~FontResource() override;
void load(ResourceFetcher*) override;
@@ -74,9 +74,9 @@ private:
FontResourceFactory()
: ResourceFactory(Resource::Font) { }
- PassRefPtrWillBeRawPtr<Resource> create(const ResourceRequest& request, const ResourceLoaderOptions& options, const String& charset) const override
+ RawPtr<Resource> create(const ResourceRequest& request, const ResourceLoaderOptions& options, const String& charset) const override
{
- return adoptRefWillBeNoop(new FontResource(request, options));
+ return new FontResource(request, options);
}
};
FontResource(const ResourceRequest&, const ResourceLoaderOptions&);

Powered by Google App Engine
This is Rietveld 408576698