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

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

Issue 1320213002: Remove unused inline FontMetrics.scaleEmToUnits method. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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 | no next file » | 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/platform/fonts/FontMetrics.h b/Source/platform/fonts/FontMetrics.h
index 642624158693cb86581aa96a34565fe0a8b8e5de..62079d535eb72bfff4bec2f6a6cb30741bf29218 100644
--- a/Source/platform/fonts/FontMetrics.h
+++ b/Source/platform/fonts/FontMetrics.h
@@ -173,11 +173,6 @@ private:
bool m_hasZeroWidth;
};
-inline float scaleEmToUnits(float x, unsigned unitsPerEm)
-{
- return unitsPerEm ? x / unitsPerEm : x;
-}
-
} // namespace blink
#endif // FontMetrics_h
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698