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

Unified Diff: Source/core/platform/graphics/skia/SimpleFontDataSkia.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/SimpleFontDataSkia.cpp
diff --git a/Source/core/platform/graphics/skia/SimpleFontDataSkia.cpp b/Source/core/platform/graphics/skia/SimpleFontDataSkia.cpp
index 56eef1e333893ea0730ecae6e0e0af779910ceba..6a89201f7ecd4b705889b84d74bc73286b2b883e 100644
--- a/Source/core/platform/graphics/skia/SimpleFontDataSkia.cpp
+++ b/Source/core/platform/graphics/skia/SimpleFontDataSkia.cpp
@@ -40,7 +40,7 @@
#include "core/platform/graphics/chromium/VDMXParser.h"
#include "wtf/unicode/Unicode.h"
-#if OS(WINDOWS)
+#if OS(WIN)
#include "core/platform/win/HWndDC.h"
#endif
@@ -132,7 +132,7 @@ void SimpleFontData::platformInit()
// In WebKit/WebCore/platform/graphics/SimpleFontData.cpp, m_spaceWidth is
// calculated for us, but we need to calculate m_maxCharWidth and
// m_avgCharWidth in order for text entry widgets to be sized correctly.
-#if OS(WINDOWS)
+#if OS(WIN)
m_maxCharWidth = SkScalarRound(metrics.fMaxCharWidth);
#else
// FIXME: This seems incorrect and should probably use fMaxCharWidth as
« no previous file with comments | « Source/core/platform/graphics/skia/GlyphPageTreeNodeSkia.cpp ('k') | Source/core/platform/sql/SQLiteDatabase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698