Fix unsigned/enum problem on Win32. r=darin.
authorhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Dec 2007 21:21:45 +0000 (21:21 +0000)
committerhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 19 Dec 2007 21:21:45 +0000 (21:21 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@28872 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/page/Settings.cpp

index 31a98deddd719b29f838af3d884f6be5841f4998..7ae621cb691f51317360f841545f775163dd997b 100644 (file)
@@ -316,7 +316,7 @@ unsigned long long Settings::defaultDatabaseOriginQuota() const
 
 void Settings::setFontRenderingMode(FontRenderingMode mode)
 {
-    if (m_fontRenderingMode == mode)
+    if (fontRenderingMode() == mode)
         return;
     m_fontRenderingMode = mode;
     setNeedsReapplyStylesInAllFrames(m_page);