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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontCache.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
Index: third_party/WebKit/Source/platform/fonts/FontCache.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/FontCache.cpp b/third_party/WebKit/Source/platform/fonts/FontCache.cpp
index 36433a6b6e83be8542b9b987d2f01463f2d16a2d..fbcdbdbaa88f0df2824ced243ca5cf3e2e928f58 100644
--- a/third_party/WebKit/Source/platform/fonts/FontCache.cpp
+++ b/third_party/WebKit/Source/platform/fonts/FontCache.cpp
@@ -185,7 +185,7 @@ FontVerticalDataCache& fontVerticalDataCacheInstance()
return fontVerticalDataCache;
}
-void FontCache::setFontManager(const RefPtr<SkFontMgr>& fontManager)
+void FontCache::setFontManager(const sk_sp<SkFontMgr>& fontManager)
{
DCHECK(!s_staticFontManager);
s_staticFontManager = fontManager.get();

Powered by Google App Engine
This is Rietveld 408576698