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

Unified Diff: Source/core/fetch/FontResource.cpp

Issue 715363005: Remove FontPlatformData::m_widthVariant. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix Mac. Created 6 years, 1 month 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/core/fetch/FontResource.cpp
diff --git a/Source/core/fetch/FontResource.cpp b/Source/core/fetch/FontResource.cpp
index 98c9f2f9ec1f374c8c3567bf6e397d5eb8bd340f..d648806deb11e779b15d4a77e8171f0c5ec21e7d 100644
--- a/Source/core/fetch/FontResource.cpp
+++ b/Source/core/fetch/FontResource.cpp
@@ -136,10 +136,10 @@ bool FontResource::ensureCustomFontData()
return m_fontData;
}
-FontPlatformData FontResource::platformDataFromCustomData(float size, bool bold, bool italic, FontOrientation orientation, FontWidthVariant widthVariant)
+FontPlatformData FontResource::platformDataFromCustomData(float size, bool bold, bool italic, FontOrientation orientation)
{
ASSERT(m_fontData);
- return m_fontData->fontPlatformData(size, bold, italic, orientation, widthVariant);
+ return m_fontData->fontPlatformData(size, bold, italic, orientation);
}
bool FontResource::isSafeToUnlock() const

Powered by Google App Engine
This is Rietveld 408576698