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

Unified Diff: Source/WebCore/platform/graphics/FontPlatformData.h

Issue 13905007: Remove the last remaining PLATFORM() bits from WebCore. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fffffffffff Created 7 years, 8 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/WebCore/platform/graphics/FontPlatformData.h
diff --git a/Source/WebCore/platform/graphics/FontPlatformData.h b/Source/WebCore/platform/graphics/FontPlatformData.h
index 7b727c7f75cc41774e52290879f45dacc7757a2f..ac23c8e682acb5fd94a33d06faf4dd5960343c58 100644
--- a/Source/WebCore/platform/graphics/FontPlatformData.h
+++ b/Source/WebCore/platform/graphics/FontPlatformData.h
@@ -23,7 +23,7 @@
*/
// FIXME: This is temporary until all ports switch to using this file.
-#if PLATFORM(CHROMIUM) && !OS(DARWIN)
+#if !OS(DARWIN)
#include "chromium/FontPlatformData.h"
#else
@@ -49,7 +49,7 @@ typedef const struct __CTFont* CTFontRef;
#include <wtf/RetainPtr.h>
#include <wtf/text/StringImpl.h>
-#if PLATFORM(CHROMIUM) && OS(DARWIN)
+#if OS(DARWIN)
#include "CrossProcessFontLoading.h"
#endif
@@ -68,7 +68,7 @@ namespace WebCore {
class FontDescription;
class SharedBuffer;
-#if PLATFORM(CHROMIUM) && OS(DARWIN)
+#if OS(DARWIN)
class HarfBuzzFace;
#endif
@@ -126,7 +126,7 @@ public:
void setOrientation(FontOrientation orientation) { m_orientation = orientation; }
-#if PLATFORM(CHROMIUM) && OS(DARWIN)
+#if OS(DARWIN)
HarfBuzzFace* harfBuzzFace();
#endif
@@ -201,7 +201,7 @@ private:
mutable RetainPtr<CTFontRef> m_CTFont;
#endif
-#if PLATFORM(CHROMIUM) && OS(DARWIN)
+#if OS(DARWIN)
RefPtr<MemoryActivatedFont> m_inMemoryFont;
RefPtr<HarfBuzzFace> m_harfBuzzFace;
#endif
« no previous file with comments | « Source/WebCore/platform/graphics/FontDescription.h ('k') | Source/WebCore/platform/graphics/FontPlatformData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698