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

Unified Diff: content/common/font_config_ipc_linux.h

Issue 1951013003: Remove all uses of skia::RefPtr and stale includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Florin's smart pointer fix Created 4 years, 7 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 | « content/common/browser_plugin/browser_plugin_messages.h ('k') | content/common/font_config_ipc_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/font_config_ipc_linux.h
diff --git a/content/common/font_config_ipc_linux.h b/content/common/font_config_ipc_linux.h
index 59a4b0f4338f7c655ca0cda20a328b6fa1dc9ffb..be07519d497be9901cb42b25af33bbea513d58bd 100644
--- a/content/common/font_config_ipc_linux.h
+++ b/content/common/font_config_ipc_linux.h
@@ -9,7 +9,7 @@
#include "base/containers/mru_cache.h"
#include "base/macros.h"
#include "base/synchronization/lock.h"
-#include "skia/ext/refptr.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
#include "third_party/skia/include/core/SkStream.h"
#include "third_party/skia/include/core/SkTypeface.h"
#include "third_party/skia/include/ports/SkFontConfigInterface.h"
@@ -71,7 +71,7 @@ class FontConfigIPC : public SkFontConfigInterface {
// frequency of ttc indices is very low, and style is not used by clients of
// this API, this seems okay.
base::HashingMRUCache<FontIdentity,
- skia::RefPtr<SkTypeface>,
+ sk_sp<SkTypeface>,
SkFontConfigInterfaceFontIdentityHash>
mapped_typefaces_;
« no previous file with comments | « content/common/browser_plugin/browser_plugin_messages.h ('k') | content/common/font_config_ipc_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698