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

Unified Diff: Source/platform/fonts/shaping/SimpleShaper.cpp

Issue 656913006: Remove SVG fonts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update tests for landing 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
Index: Source/platform/fonts/shaping/SimpleShaper.cpp
diff --git a/Source/platform/fonts/shaping/SimpleShaper.cpp b/Source/platform/fonts/shaping/SimpleShaper.cpp
index 1206d19a1ae991145a88e7e26e3e55e3fe36dfcc..ee12b709cfb8020bdb73e5735468ba8620f7a145 100644
--- a/Source/platform/fonts/shaping/SimpleShaper.cpp
+++ b/Source/platform/fonts/shaping/SimpleShaper.cpp
@@ -69,14 +69,6 @@ SimpleShaper::SimpleShaper(const Font* font, const TextRun& run,
GlyphData SimpleShaper::glyphDataForCharacter(CharacterData& charData, bool normalizeSpace)
{
ASSERT(m_font);
-
-#if ENABLE(SVG_FONTS)
- if (TextRun::RenderingContext* renderingContext = m_run.renderingContext()) {
- return renderingContext->glyphDataForCharacter(*m_font, m_run, *this, charData.character,
- m_run.rtl(), charData.characterOffset, charData.clusterLength);
- }
-#endif
-
return m_font->glyphDataForCharacter(charData.character, m_run.rtl(), normalizeSpace);
}

Powered by Google App Engine
This is Rietveld 408576698