Chromium Code Reviews| Index: third_party/WebKit/Source/platform/fonts/Font.h |
| diff --git a/third_party/WebKit/Source/platform/fonts/Font.h b/third_party/WebKit/Source/platform/fonts/Font.h |
| index bff7ab2b0ded9a9ba7b53770ea2e1d11a38d1433..77b837aedae3d6bac52311252578e8181791d891 100644 |
| --- a/third_party/WebKit/Source/platform/fonts/Font.h |
| +++ b/third_party/WebKit/Source/platform/fonts/Font.h |
| @@ -123,10 +123,6 @@ class PLATFORM_EXPORT Font { |
| Vector<CharacterRange> individualCharacterRanges(const TextRun&) const; |
| // Metrics that we query the FontFallbackList for. |
| - const FontMetrics& getFontMetrics() const { |
|
wkorman
2016/10/13 22:54:31
Suggest adding documentation to Font::primaryFont(
eae
2016/10/13 23:09:58
Done, thank you.
|
| - RELEASE_ASSERT(primaryFont()); |
| - return primaryFont()->getFontMetrics(); |
| - } |
| float spaceWidth() const { |
| return primaryFont()->spaceWidth() + getFontDescription().letterSpacing(); |
| } |