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

Unified Diff: third_party/WebKit/Source/web/win/WebFontRendering.cpp

Issue 2290903002: Change (Pass)RefPtr<SkXxx> into sk_sp<SkXxx>. (Closed)
Patch Set: Rebasing... Created 4 years, 3 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
« no previous file with comments | « third_party/WebKit/Source/web/linux/WebFontRendering.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/win/WebFontRendering.cpp
diff --git a/third_party/WebKit/Source/web/win/WebFontRendering.cpp b/third_party/WebKit/Source/web/win/WebFontRendering.cpp
index 6611727e3007af99ed1e26e9e4ba45539d94f866..1721ca15dc91527c4a8d36d36b1afc13e23d3600 100644
--- a/third_party/WebKit/Source/web/win/WebFontRendering.cpp
+++ b/third_party/WebKit/Source/web/win/WebFontRendering.cpp
@@ -12,7 +12,7 @@ namespace blink {
void WebFontRendering::setSkiaFontManager(SkFontMgr* fontMgr)
{
WTF::adopted(fontMgr);
- FontCache::setFontManager(RefPtr<SkFontMgr>(fontMgr));
+ FontCache::setFontManager(sk_ref_sp(fontMgr));
}
// static
« no previous file with comments | « third_party/WebKit/Source/web/linux/WebFontRendering.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698