WebKit on Windows needs a mechanism to listen for WM_SETTINGCHANGED messages
[WebKit-https.git] / WebKit / win / WebKitGraphics.cpp
index 03fe9033527f4ff4f1091c7c60c945c9bb6e6ef6..444c43c126e0bbad4c58632c574fc82bb97eef1c 100644 (file)
@@ -175,3 +175,9 @@ bool WebKitShouldUseFontSmoothing()
 {
     return WebCoreShouldUseFontSmoothing();
 }
+
+void WebKitSystemParameterChanged(UINT parameter)
+{
+    if (parameter == SPI_SETFONTSMOOTHING || parameter == SPI_SETFONTSMOOTHINGTYPE || parameter == SPI_SETFONTSMOOTHINGCONTRAST || parameter == SPI_SETFONTSMOOTHINGORIENTATION)
+        wkSystemFontSmoothingChanged();
+}