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

Unified Diff: third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp

Issue 1931393002: Introduce typeface cache in blink::FontCache (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wip: others Created 4 years, 8 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: third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp
diff --git a/third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp b/third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp
index 6ac93d063d6e1458346631fa6332cedadf049b69..45d3f38f949d8b3c0d326a0696afe1215a927926 100644
--- a/third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp
+++ b/third_party/WebKit/Source/platform/testing/FontTestHelpers.cpp
@@ -34,11 +34,10 @@ public:
const AtomicString& familyName) override
{
FontPlatformData platformData = m_customPlatformData->fontPlatformData(
- fontDescription.effectiveFontSize(),
fontDescription.isSyntheticBold(),
fontDescription.isSyntheticItalic(),
fontDescription.orientation());
- return SimpleFontData::create(platformData, CustomFontData::create());
+ return SimpleFontData::create(platformData, fontDescription.effectiveFontSize(), CustomFontData::create());
}
void willUseFontData(const FontDescription&, const AtomicString& familyName,

Powered by Google App Engine
This is Rietveld 408576698