Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: Source/WebCore/css/CSSStyleSelector.cpp

Issue 8344008: Merge 97724 - r97638 caused 3 printing crashes (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/912/
Patch Set: Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/css/CSSStyleSelector.cpp
===================================================================
--- Source/WebCore/css/CSSStyleSelector.cpp (revision 97777)
+++ Source/WebCore/css/CSSStyleSelector.cpp (working copy)
@@ -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;
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698