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

Unified Diff: Source/core/css/CSSSelector.cpp

Issue 218403012: Check for null selectors when looping in findBestRuleSetAndAdd (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed comments from ojan@. Created 6 years, 9 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/core/css/CSSSelector.h ('k') | Source/core/css/RuleSet.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSSelector.cpp
diff --git a/Source/core/css/CSSSelector.cpp b/Source/core/css/CSSSelector.cpp
index cddc68bff4e022860b91c4ebc77f4e2d83d71c1e..94238d4c17481b5b12a844c5c404e252577c8dc6 100644
--- a/Source/core/css/CSSSelector.cpp
+++ b/Source/core/css/CSSSelector.cpp
@@ -397,6 +397,8 @@ void CSSSelector::show(int indent) const
if (tagHistory()) {
printf("\n%*s--> (relation == %d)\n", indent, "", relation());
tagHistory()->show(indent + 2);
+ } else {
+ printf("\n%*s--> (relation == %d)\n", indent, "", relation());
}
}
« no previous file with comments | « Source/core/css/CSSSelector.h ('k') | Source/core/css/RuleSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698