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

Unified Diff: skia/config/sk_ref_cnt_ext_release.h

Issue 1691073002: Add plumbing in blink to allow overriding the skia font manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge to head Created 4 years, 10 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 | « skia/config/sk_ref_cnt_ext_debug.h ('k') | third_party/WebKit/Source/platform/fonts/FontCache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/config/sk_ref_cnt_ext_release.h
diff --git a/skia/config/sk_ref_cnt_ext_release.h b/skia/config/sk_ref_cnt_ext_release.h
index 7736c84cf7e1d4280a260f410a7864e7d4053d95..aec051283cb8cd9ddfee73a3a99a8e83f0768a06 100644
--- a/skia/config/sk_ref_cnt_ext_release.h
+++ b/skia/config/sk_ref_cnt_ext_release.h
@@ -15,5 +15,13 @@ public:
void deref() const { SkRefCntBase::unref(); }
};
+namespace WTF {
bungeman-skia 2016/02/12 15:45:11 Is there a reason for adding any of this? WTF::ado
Ilya Kulshin 2016/02/12 20:47:10 I don't want to force callers to rely on a differe
+ inline void adopted(const SkRefCnt* object) {}
+ inline void requireAdoption(const SkRefCnt* object) {}
+};
+
+using WTF::adopted;
bungeman-skia 2016/02/12 15:45:11 Are these needed? I would prefer these be removed
Ilya Kulshin 2016/02/12 20:47:10 I tried removing them, but that caused a bunch of
+using WTF::requireAdoption;
+
#endif
« no previous file with comments | « skia/config/sk_ref_cnt_ext_debug.h ('k') | third_party/WebKit/Source/platform/fonts/FontCache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698