Title: [97724] trunk/Source/WebCore
- Revision
- 97724
- Author
- [email protected]
- Date
- 2011-10-17 23:39:31 -0700 (Mon, 17 Oct 2011)
Log Message
r97638 caused 3 printing crashes
https://bugs.webkit.org/show_bug.cgi?id=70284
Reviewed by Kent Tamura.
Null check element.
* css/CSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applyDeclarations):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (97723 => 97724)
--- trunk/Source/WebCore/ChangeLog 2011-10-18 06:30:42 UTC (rev 97723)
+++ trunk/Source/WebCore/ChangeLog 2011-10-18 06:39:31 UTC (rev 97724)
@@ -1,3 +1,15 @@
+2011-10-17 Antti Koivisto <[email protected]>
+
+ r97638 caused 3 printing crashes
+ https://bugs.webkit.org/show_bug.cgi?id=70284
+
+ Reviewed by Kent Tamura.
+
+ Null check element.
+
+ * css/CSSStyleSelector.cpp:
+ (WebCore::CSSStyleSelector::applyDeclarations):
+
2011-10-17 Sheriff Bot <[email protected]>
Unreviewed, rolling out r97669.
Modified: trunk/Source/WebCore/css/CSSStyleSelector.cpp (97723 => 97724)
--- trunk/Source/WebCore/css/CSSStyleSelector.cpp 2011-10-18 06:30:42 UTC (rev 97723)
+++ trunk/Source/WebCore/css/CSSStyleSelector.cpp 2011-10-18 06:39:31 UTC (rev 97724)
@@ -2174,7 +2174,7 @@
if (startIndex == -1)
return;
- if (m_element->isLink()) {
+ if (m_element && m_element->isLink()) {
for (int i = startIndex; i <= endIndex; ++i) {
CSSMutableStyleDeclaration* styleDeclaration = m_matchedDecls[i].styleDeclaration;
unsigned linkMatchType = m_matchedDecls[i].linkMatchType;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes