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

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

Issue 48113009: Move Font related classes to Source/platform/fonts (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add two more Font related independent files 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
Index: Source/platform/fonts/FontCacheKey.h
diff --git a/Source/core/platform/graphics/FontCacheKey.h b/Source/platform/fonts/FontCacheKey.h
similarity index 96%
rename from Source/core/platform/graphics/FontCacheKey.h
rename to Source/platform/fonts/FontCacheKey.h
index 186eb0a2c7c3c68b39a6b154432f0dc0011cceb2..c18f29c9e05c2e13e4e41b52de196bf55d7c2f9d 100644
--- a/Source/core/platform/graphics/FontCacheKey.h
+++ b/Source/platform/fonts/FontCacheKey.h
@@ -42,7 +42,7 @@ namespace WebCore {
// precision which should be sufficient.
static const unsigned s_fontSizePrecisionMultiplier = 100;
-struct FontCacheKey {
+struct PLATFORM_EXPORT FontCacheKey {
abarth-chromium 2013/10/29 05:26:35 Don't we need to #include "platform/PlatformExport
rwlbuis 2013/10/29 18:38:00 Ok, good point.
WTF_MAKE_FAST_ALLOCATED;
public:
FontCacheKey()
@@ -108,7 +108,7 @@ struct FontCacheKeyHash {
static const bool safeToCompareToEmptyOrDeleted = true;
};
-struct FontCacheKeyTraits : WTF::SimpleClassHashTraits<FontCacheKey> { };
+struct PLATFORM_EXPORT FontCacheKeyTraits : WTF::SimpleClassHashTraits<FontCacheKey> { };
abarth-chromium 2013/10/29 05:26:35 This class looks entirely inline. I don't think t
rwlbuis 2013/10/29 18:38:00 Fixed.
}

Powered by Google App Engine
This is Rietveld 408576698