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

Unified Diff: Source/platform/fonts/FontMetrics.h

Issue 48113009: Move Font related classes to Source/platform/fonts (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix mac export Created 7 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
« no previous file with comments | « Source/platform/fonts/FontDescription.cpp ('k') | Source/platform/fonts/FontOrientation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/fonts/FontMetrics.h
diff --git a/Source/core/platform/graphics/FontMetrics.h b/Source/platform/fonts/FontMetrics.h
similarity index 98%
rename from Source/core/platform/graphics/FontMetrics.h
rename to Source/platform/fonts/FontMetrics.h
index dbf1636a6bc6496b1873b859b593e35d248840e9..dafed6a476fd80e2310e8b96d346e75d474735c8 100644
--- a/Source/core/platform/graphics/FontMetrics.h
+++ b/Source/platform/fonts/FontMetrics.h
@@ -147,7 +147,7 @@ private:
bool m_hasZeroWidth;
};
-static inline float scaleEmToUnits(float x, unsigned unitsPerEm)
+inline float scaleEmToUnits(float x, unsigned unitsPerEm)
{
return unitsPerEm ? x / unitsPerEm : x;
}
« no previous file with comments | « Source/platform/fonts/FontDescription.cpp ('k') | Source/platform/fonts/FontOrientation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698