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

Unified Diff: third_party/WebKit/Source/core/css/RuleSetTest.cpp

Issue 1574323003: Split compound selector after consume finished. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@upload-base
Patch Set: Removed obsolete serialization hack and fixed unit tests. Created 4 years, 11 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
Index: third_party/WebKit/Source/core/css/RuleSetTest.cpp
diff --git a/third_party/WebKit/Source/core/css/RuleSetTest.cpp b/third_party/WebKit/Source/core/css/RuleSetTest.cpp
index 149afb806fefd997c742471e9d3916d2b46551a6..99459b11ccbbda728ca775866cdb04f8f7845cf9 100644
--- a/third_party/WebKit/Source/core/css/RuleSetTest.cpp
+++ b/third_party/WebKit/Source/core/css/RuleSetTest.cpp
@@ -132,7 +132,7 @@ TEST(RuleSetTest, findBestRuleSetAndAdd_DivWithContent)
const TerminatedArray<RuleData>* rules = ruleSet.tagRules(str);
ASSERT_EQ(1u, rules->size());
AtomicString valueStr("content");
- ASSERT_EQ(valueStr, rules->at(0).selector().value());
+ ASSERT_EQ(valueStr, rules->at(0).selector().tagHistory()->value());
}
TEST(RuleSetTest, findBestRuleSetAndAdd_Host)
« no previous file with comments | « third_party/WebKit/Source/core/css/RuleFeature.cpp ('k') | third_party/WebKit/Source/core/css/parser/CSSParserSelector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698