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

Unified Diff: Source/core/platform/graphics/FontCache.h

Issue 23672027: Rename OS(WINDOWS) to OS(WIN) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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/core/platform/graphics/FontCache.h
diff --git a/Source/core/platform/graphics/FontCache.h b/Source/core/platform/graphics/FontCache.h
index 1951019522ed2771dbde4fb9724ab08c8c9630b8..882b5eeb7b1039573497e05c80a64fda5d71e9f8 100644
--- a/Source/core/platform/graphics/FontCache.h
+++ b/Source/core/platform/graphics/FontCache.h
@@ -39,13 +39,13 @@
#include "wtf/text/WTFString.h"
#include "wtf/unicode/Unicode.h"
-#if OS(WINDOWS)
+#if OS(WIN)
#include <windows.h>
#include <objidl.h>
#include <mlang.h>
#endif
-#if OS(WINDOWS) && !ENABLE(GDI_FONTS_ON_WINDOWS)
+#if OS(WIN) && !ENABLE(GDI_FONTS_ON_WINDOWS)
#include "SkFontMgr.h"
#endif
@@ -97,7 +97,7 @@ public:
size_t inactiveFontDataCount();
void purgeInactiveFontData(int count = INT_MAX);
-#if OS(WINDOWS)
+#if OS(WIN)
PassRefPtr<SimpleFontData> fontDataFromDescriptionAndLogFont(const FontDescription&, ShouldRetain, const LOGFONT&, wchar_t* outFontFamilyName);
#endif
@@ -143,7 +143,7 @@ private:
// Don't purge if this count is > 0;
int m_purgePreventCount;
-#if OS(WINDOWS) && !ENABLE(GDI_FONTS_ON_WINDOWS)
+#if OS(WIN) && !ENABLE(GDI_FONTS_ON_WINDOWS)
OwnPtr<SkFontMgr> m_fontManager;
#endif
« no previous file with comments | « Source/core/platform/chromium/PlatformKeyboardEventChromium.cpp ('k') | Source/core/platform/graphics/FontCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698