Index: third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp b/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp |
index 2703956a9b320ec3d48060867a3f627fe1601140..99d39f6f751fa09ea110ce465b65b818f13bdbdd 100644 |
--- a/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp |
@@ -93,10 +93,10 @@ FontResource* CSSFontFaceSrcValue::fetch(Document* document) |
SecurityOrigin* securityOrigin = document->getSecurityOrigin(); |
setCrossOriginAccessControl(request, securityOrigin); |
request.mutableResourceRequest().setHTTPReferrer(SecurityPolicy::generateReferrer(m_referrer.referrerPolicy, request.url(), m_referrer.referrer)); |
- RawPtr<FontResource> resource = FontResource::fetch(request, document->fetcher()); |
+ FontResource* resource = FontResource::fetch(request, document->fetcher()); |
if (!resource) |
return nullptr; |
- m_fetched = FontResourceHelper::create(resource.release()); |
+ m_fetched = FontResourceHelper::create(resource); |
} else { |
// FIXME: CSSFontFaceSrcValue::fetch is invoked when @font-face rule |
// is processed by StyleResolver / StyleEngine. |