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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontCacheKey.h

Issue 1962263002: Introduce FontCache content scaling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win layout test fix Created 4 years, 7 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
Index: third_party/WebKit/Source/platform/fonts/FontCacheKey.h
diff --git a/third_party/WebKit/Source/platform/fonts/FontCacheKey.h b/third_party/WebKit/Source/platform/fonts/FontCacheKey.h
index 9ef79da04fa763e70ba033b4612ad4007492443d..9ddf67f549a9bc305cb7b3668d863600854c6f5a 100644
--- a/third_party/WebKit/Source/platform/fonts/FontCacheKey.h
+++ b/third_party/WebKit/Source/platform/fonts/FontCacheKey.h
@@ -85,6 +85,11 @@ public:
return s_fontSizePrecisionMultiplier;
}
+ void clearFontSize()
+ {
+ m_fontSize = 0;
+ }
+
private:
static unsigned hashTableDeletedSize()
{

Powered by Google App Engine
This is Rietveld 408576698