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

Unified Diff: Source/core/platform/graphics/skia/FontCacheSkia.cpp

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/skia/FontCacheSkia.cpp
diff --git a/Source/core/platform/graphics/skia/FontCacheSkia.cpp b/Source/core/platform/graphics/skia/FontCacheSkia.cpp
index 6cb10a6d20751aed65af9b5997fed70221d94afb..da1cc8eca18939cfc98f6794d704e829dcaf9b7a 100644
--- a/Source/core/platform/graphics/skia/FontCacheSkia.cpp
+++ b/Source/core/platform/graphics/skia/FontCacheSkia.cpp
@@ -48,7 +48,7 @@ void FontCache::platformInit()
{
}
-#if !OS(WINDOWS)
+#if !OS(WIN)
PassRefPtr<SimpleFontData> FontCache::getFontDataForCharacter(const Font& font, UChar32 c)
{
icu::Locale locale = icu::Locale::getDefault();
@@ -149,7 +149,7 @@ SkTypeface* FontCache::createTypeface(const FontDescription& fontDescription, co
style |= SkTypeface::kItalic;
// FIXME: Use SkFontStyle and matchFamilyStyle instead of legacyCreateTypeface.
-#if OS(WINDOWS) && !ENABLE(GDI_FONTS_ON_WINDOWS)
+#if OS(WIN) && !ENABLE(GDI_FONTS_ON_WINDOWS)
if (m_fontManager)
return m_fontManager->legacyCreateTypeface(name.data(), style);
#endif
@@ -157,7 +157,7 @@ SkTypeface* FontCache::createTypeface(const FontDescription& fontDescription, co
return SkTypeface::CreateFromName(name.data(), static_cast<SkTypeface::Style>(style));
}
-#if !OS(WINDOWS)
+#if !OS(WIN)
FontPlatformData* FontCache::createFontPlatformData(const FontDescription& fontDescription, const AtomicString& family)
{
CString name;
« no previous file with comments | « Source/core/platform/graphics/GraphicsContext3D.h ('k') | Source/core/platform/graphics/skia/GlyphPageTreeNodeSkia.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698