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

Unified Diff: Source/web/linux/WebFontRendering.cpp

Issue 23691071: OS(ANDROID) should not imply OS(LINUX) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Refactor OS macros to have exclusive priority order 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
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | Source/wtf/Assertions.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/linux/WebFontRendering.cpp
diff --git a/Source/web/linux/WebFontRendering.cpp b/Source/web/linux/WebFontRendering.cpp
index 03b92dcf82ba68b2188626002851d2b5a3aa2b3d..c20d4b4f5feb4c31148b6441f87cf71c993b8353 100644
--- a/Source/web/linux/WebFontRendering.cpp
+++ b/Source/web/linux/WebFontRendering.cpp
@@ -33,7 +33,7 @@
#include "core/platform/graphics/FontPlatformData.h"
-#if OS(LINUX) && !OS(ANDROID)
+#if OS(LINUX)
#include "WebFontInfo.h"
#endif
@@ -75,7 +75,7 @@ void WebFontRendering::setSubpixelRendering(bool useSubpixelRendering)
void WebFontRendering::setSubpixelPositioning(bool useSubpixelPositioning)
{
FontPlatformData::setSubpixelPositioning(useSubpixelPositioning);
-#if OS(LINUX) && !OS(ANDROID)
+#if OS(LINUX)
WebFontInfo::setSubpixelPositioning(useSubpixelPositioning);
#endif
}
« no previous file with comments | « Source/web/WebViewImpl.cpp ('k') | Source/wtf/Assertions.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698