Title: [92289] trunk/Source/WebCore
- Revision
- 92289
- Author
- [email protected]
- Date
- 2011-08-03 09:48:47 -0700 (Wed, 03 Aug 2011)
Log Message
Use appropriate macro for CSSPropertyImageRendering.
https://bugs.webkit.org/show_bug.cgi?id=65594
Reviewed by Simon Fraser.
No new tests / trivial code cleanup only.
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyProperty):
Use HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE macro.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (92288 => 92289)
--- trunk/Source/WebCore/ChangeLog 2011-08-03 16:48:23 UTC (rev 92288)
+++ trunk/Source/WebCore/ChangeLog 2011-08-03 16:48:47 UTC (rev 92289)
@@ -1,3 +1,16 @@
+2011-08-03 Luke Macpherson <[email protected]>
+
+ Use appropriate macro for CSSPropertyImageRendering.
+ https://bugs.webkit.org/show_bug.cgi?id=65594
+
+ Reviewed by Simon Fraser.
+
+ No new tests / trivial code cleanup only.
+
+ * css/CSSStyleSelector.cpp:
+ (WebCore::CSSStyleSelector::applyProperty):
+ Use HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE macro.
+
2011-08-03 Dan Bernstein <[email protected]>
FontCache::getFontData() does not set the familyIndex to cAllFamiliesScanned if the last font is a custom font
Modified: trunk/Source/WebCore/css/CSSStyleSelector.cpp (92288 => 92289)
--- trunk/Source/WebCore/css/CSSStyleSelector.cpp 2011-08-03 16:48:23 UTC (rev 92288)
+++ trunk/Source/WebCore/css/CSSStyleSelector.cpp 2011-08-03 16:48:47 UTC (rev 92289)
@@ -4425,9 +4425,7 @@
return;
}
case CSSPropertyImageRendering:
- if (!primitiveValue)
- return;
- m_style->setImageRendering(*primitiveValue);
+ HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE(imageRendering, ImageRendering);
return;
case CSSPropertyTextShadow:
case CSSPropertyBoxShadow:
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes