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

Unified Diff: Source/platform/fonts/SimpleFontData.h

Issue 682793002: Remove SimpleFontData::create only used by SVG Fonts (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/SimpleFontData.h
diff --git a/Source/platform/fonts/SimpleFontData.h b/Source/platform/fonts/SimpleFontData.h
index 40509ad732ee80161b8c7d8202f9b92a36c34086..eeb53eef39bf54cef0b43788b3b8fd48c02114e0 100644
--- a/Source/platform/fonts/SimpleFontData.h
+++ b/Source/platform/fonts/SimpleFontData.h
@@ -58,12 +58,6 @@ public:
return adoptRef(new SimpleFontData(platformData, customData, isTextOrientationFallback));
}
- // Used to create SVG Fonts.
- static PassRefPtr<SimpleFontData> create(PassRefPtr<CustomFontData> customData, float fontSize, bool syntheticBold, bool syntheticItalic)
- {
- return adoptRef(new SimpleFontData(customData, fontSize, syntheticBold, syntheticItalic));
- }
-
virtual ~SimpleFontData();
const FontPlatformData& platformData() const { return m_platformData; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698