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

Unified Diff: third_party/WebKit/Source/core/css/BinaryDataFontFaceSource.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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/BinaryDataFontFaceSource.cpp
diff --git a/third_party/WebKit/Source/core/css/BinaryDataFontFaceSource.cpp b/third_party/WebKit/Source/core/css/BinaryDataFontFaceSource.cpp
index 395cbe36c303f15805b7735d1381efb776e4997e..0e448ea8c1940f8e2bac122ac6e9f240c5cb0b84 100644
--- a/third_party/WebKit/Source/core/css/BinaryDataFontFaceSource.cpp
+++ b/third_party/WebKit/Source/core/css/BinaryDataFontFaceSource.cpp
@@ -28,9 +28,12 @@ bool BinaryDataFontFaceSource::isValid() const
PassRefPtr<SimpleFontData> BinaryDataFontFaceSource::createFontData(const FontDescription& fontDescription)
{
return SimpleFontData::create(
- m_customPlatformData->fontPlatformData(fontDescription.effectiveFontSize(),
- fontDescription.isSyntheticBold(), fontDescription.isSyntheticItalic(),
- fontDescription.orientation()), CustomFontData::create());
+ m_customPlatformData->fontPlatformData(
+ fontDescription.isSyntheticBold(),
+ fontDescription.isSyntheticItalic(),
+ fontDescription.orientation()),
+ fontDescription.effectiveFontSize(),
+ CustomFontData::create());
}
} // namespace blink
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698