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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 99459b11ccbbda728ca775866cdb04f8f7845cf9..25e664330e18915f613bdb6e055e536e5010663a 100644
--- a/third_party/WebKit/Source/core/css/RuleSetTest.cpp
+++ b/third_party/WebKit/Source/core/css/RuleSetTest.cpp
@@ -141,7 +141,7 @@ TEST(RuleSetTest, findBestRuleSetAndAdd_Host)
helper.addCSSRules(":host { }");
RuleSet& ruleSet = helper.ruleSet();
- const WillBeHeapVector<RuleData>* rules = ruleSet.shadowHostRules();
+ const HeapVector<RuleData>* rules = ruleSet.shadowHostRules();
ASSERT_EQ(1u, rules->size());
}
@@ -151,7 +151,7 @@ TEST(RuleSetTest, findBestRuleSetAndAdd_HostWithId)
helper.addCSSRules(":host(#x) { }");
RuleSet& ruleSet = helper.ruleSet();
- const WillBeHeapVector<RuleData>* rules = ruleSet.shadowHostRules();
+ const HeapVector<RuleData>* rules = ruleSet.shadowHostRules();
ASSERT_EQ(1u, rules->size());
}
@@ -161,7 +161,7 @@ TEST(RuleSetTest, findBestRuleSetAndAdd_HostContext)
helper.addCSSRules(":host-context(*) { }");
RuleSet& ruleSet = helper.ruleSet();
- const WillBeHeapVector<RuleData>* rules = ruleSet.shadowHostRules();
+ const HeapVector<RuleData>* rules = ruleSet.shadowHostRules();
ASSERT_EQ(1u, rules->size());
}
@@ -171,7 +171,7 @@ TEST(RuleSetTest, findBestRuleSetAndAdd_HostContextWithId)
helper.addCSSRules(":host-context(#x) { }");
RuleSet& ruleSet = helper.ruleSet();
- const WillBeHeapVector<RuleData>* rules = ruleSet.shadowHostRules();
+ const HeapVector<RuleData>* rules = ruleSet.shadowHostRules();
ASSERT_EQ(1u, rules->size());
}
@@ -181,7 +181,7 @@ TEST(RuleSetTest, findBestRuleSetAndAdd_HostAndHostContextNotInRightmost)
helper.addCSSRules(":host-context(#x) .y, :host(.a) > #b { }");
RuleSet& ruleSet = helper.ruleSet();
- const WillBeHeapVector<RuleData>* shadowRules = ruleSet.shadowHostRules();
+ const HeapVector<RuleData>* shadowRules = ruleSet.shadowHostRules();
const TerminatedArray<RuleData>* idRules = ruleSet.idRules("b");
const TerminatedArray<RuleData>* classRules = ruleSet.classRules("y");
ASSERT_EQ(0u, shadowRules->size());
@@ -195,7 +195,7 @@ TEST(RuleSetTest, findBestRuleSetAndAdd_HostAndClass)
helper.addCSSRules(".foo:host { }");
RuleSet& ruleSet = helper.ruleSet();
- const WillBeHeapVector<RuleData>* rules = ruleSet.shadowHostRules();
+ const HeapVector<RuleData>* rules = ruleSet.shadowHostRules();
ASSERT_EQ(0u, rules->size());
}
@@ -205,7 +205,7 @@ TEST(RuleSetTest, findBestRuleSetAndAdd_HostContextAndClass)
helper.addCSSRules(".foo:host-context(*) { }");
RuleSet& ruleSet = helper.ruleSet();
- const WillBeHeapVector<RuleData>* rules = ruleSet.shadowHostRules();
+ const HeapVector<RuleData>* rules = ruleSet.shadowHostRules();
ASSERT_EQ(0u, rules->size());
}
« no previous file with comments | « third_party/WebKit/Source/core/css/RuleSet.cpp ('k') | third_party/WebKit/Source/core/css/SelectorChecker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698