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

Unified Diff: Source/platform/fonts/FontCustomPlatformData.cpp

Issue 879533003: Remove Mac native font type members from FontPlatformData (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Canvas text metrics test does not need rebaselining after improvement landed, toNSFont in WebSubstringUtil.mm Created 5 years, 9 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 | « Source/platform/fonts/FontCustomPlatformData.h ('k') | Source/platform/fonts/FontPlatformData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/FontCustomPlatformData.cpp
diff --git a/Source/platform/fonts/skia/FontCustomPlatformDataSkia.cpp b/Source/platform/fonts/FontCustomPlatformData.cpp
similarity index 99%
rename from Source/platform/fonts/skia/FontCustomPlatformDataSkia.cpp
rename to Source/platform/fonts/FontCustomPlatformData.cpp
index 00bf96da43a4ae3d11567c3b50ba6f0f15c5b90c..1cae8696dde0622b8f6c7993a978996dd3b131e5 100644
--- a/Source/platform/fonts/skia/FontCustomPlatformDataSkia.cpp
+++ b/Source/platform/fonts/FontCustomPlatformData.cpp
@@ -45,9 +45,7 @@
namespace blink {
FontCustomPlatformData::FontCustomPlatformData(PassRefPtr<SkTypeface> typeface)
- : m_typeface(typeface)
-{
-}
+ : m_typeface(typeface) { };
FontCustomPlatformData::~FontCustomPlatformData()
{
« no previous file with comments | « Source/platform/fonts/FontCustomPlatformData.h ('k') | Source/platform/fonts/FontPlatformData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698