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) |