Title: [92749] trunk/Source/WebCore
Revision
92749
Author
[email protected]
Date
2011-08-09 22:35:28 -0700 (Tue, 09 Aug 2011)

Log Message

Use setFontDescription helper to set m_fontDirty.
https://bugs.webkit.org/show_bug.cgi?id=65956

Reviewed by Dan Bernstein.

No new tests / trivial cleanup.

* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (92748 => 92749)


--- trunk/Source/WebCore/ChangeLog	2011-08-10 05:28:19 UTC (rev 92748)
+++ trunk/Source/WebCore/ChangeLog	2011-08-10 05:35:28 UTC (rev 92749)
@@ -1,3 +1,15 @@
+2011-08-09  Luke Macpherson   <[email protected]>
+
+        Use setFontDescription helper to set m_fontDirty.
+        https://bugs.webkit.org/show_bug.cgi?id=65956
+
+        Reviewed by Dan Bernstein.
+
+        No new tests / trivial cleanup.
+
+        * css/CSSStyleSelector.cpp:
+        (WebCore::CSSStyleSelector::applyProperty):
+
 2011-08-09  Dominic Cooney  <[email protected]>
 
         [V8] The prototype property of DOM constructors should be read-only.

Modified: trunk/Source/WebCore/css/CSSStyleSelector.cpp (92748 => 92749)


--- trunk/Source/WebCore/css/CSSStyleSelector.cpp	2011-08-10 05:28:19 UTC (rev 92748)
+++ trunk/Source/WebCore/css/CSSStyleSelector.cpp	2011-08-10 05:35:28 UTC (rev 92749)
@@ -4768,8 +4768,7 @@
             m_style->setLocale(primitiveValue->getStringValue());
         FontDescription fontDescription = m_style->fontDescription();
         fontDescription.setScript(localeToScriptCodeForFontSelection(m_style->locale()));
-        if (m_style->setFontDescription(fontDescription))
-            m_fontDirty = true;
+        setFontDescription(fontDescription);
         return;
     }
     case CSSPropertyWebkitBorderFit:
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to