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

Unified Diff: Source/web/WebKit.cpp

Issue 258953005: Renaming --enable-font-smoothing cmd line argument to --enable-font-antialiasing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Preparing for landing this as a 4 sided patch Created 6 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
« no previous file with comments | « Source/platform/fonts/win/FontPlatformDataWin.cpp ('k') | public/web/WebKit.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebKit.cpp
diff --git a/Source/web/WebKit.cpp b/Source/web/WebKit.cpp
index aa722a53f5ba662b3636d54f163e60608a5afc34..c1d1f47e29d252da386d9af38436db35ed5ef865 100644
--- a/Source/web/WebKit.cpp
+++ b/Source/web/WebKit.cpp
@@ -241,14 +241,26 @@ bool layoutTestMode()
return WebCore::isRunningLayoutTest();
}
+void setFontAntialiasingEnabledForTest(bool value)
+{
+ WebCore::setFontAntialiasingEnabledForTest(value);
+}
+
+bool fontAntialiasingEnabledForTest()
+{
+ return WebCore::isFontAntialiasingEnabledForTest();
+}
+
+// FIXME(dro): Remove after Chromium side rename landed.
void setFontSmoothingEnabledForTest(bool value)
{
- WebCore::setFontSmoothingEnabledForTest(value);
+ setFontAntialiasingEnabledForTest(value);
}
+// FIXME(dro): Remove after Chromium side rename landed.
bool fontSmoothingEnabledForTest()
{
- return WebCore::isFontSmoothingEnabledForTest();
+ return fontAntialiasingEnabledForTest();
}
void enableLogChannel(const char* name)
« no previous file with comments | « Source/platform/fonts/win/FontPlatformDataWin.cpp ('k') | public/web/WebKit.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698