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; |
} |