Index: third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h |
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h |
index 30cd6c18e1e0f1f4435fc3defa51f7e5b1360ee9..1d915f7ab74fb2fc494c89569ad2c5c2c0853a81 100644 |
--- a/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h |
+++ b/third_party/WebKit/Source/platform/fonts/shaping/HarfBuzzFace.h |
@@ -76,28 +76,4 @@ private: |
} // namespace blink |
-namespace WTF { |
- |
-template<typename T> struct OwnedPtrDeleter; |
-template<> struct OwnedPtrDeleter<hb_font_t> { |
- STATIC_ONLY(OwnedPtrDeleter); |
- static void deletePtr(hb_font_t* font) |
- { |
- if (font) |
- hb_font_destroy(font); |
- } |
-}; |
- |
-template<typename T> struct OwnedPtrDeleter; |
-template<> struct OwnedPtrDeleter<hb_face_t> { |
- STATIC_ONLY(OwnedPtrDeleter); |
- static void deletePtr(hb_face_t* face) |
- { |
- if (face) |
- hb_face_destroy(face); |
- } |
-}; |
- |
-} // namespace WTF |
- |
#endif // HarfBuzzFace_h |