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

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

Issue 799723004: Oilpan: fix build after r187036. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/RuleSetTest.cpp
diff --git a/Source/core/css/RuleSetTest.cpp b/Source/core/css/RuleSetTest.cpp
index a5264782217457f9c024063e05a921e19c4d04eb..7ada3455e259aa9133ea567e3f1387fc851b7769 100644
--- a/Source/core/css/RuleSetTest.cpp
+++ b/Source/core/css/RuleSetTest.cpp
@@ -142,7 +142,7 @@ TEST(RuleSetTest, findBestRuleSetAndAdd_Host)
helper.addCSSRules(":host { }");
RuleSet& ruleSet = helper.ruleSet();
- const Vector<RuleData>* rules = ruleSet.shadowHostRules();
+ const WillBeHeapVector<RuleData>* rules = ruleSet.shadowHostRules();
ASSERT_EQ(1u, rules->size());
}
@@ -152,7 +152,7 @@ TEST(RuleSetTest, findBestRuleSetAndAdd_HostWithId)
helper.addCSSRules(":host(#x) { }");
RuleSet& ruleSet = helper.ruleSet();
- const Vector<RuleData>* rules = ruleSet.shadowHostRules();
+ const WillBeHeapVector<RuleData>* rules = ruleSet.shadowHostRules();
ASSERT_EQ(1u, rules->size());
}
@@ -162,7 +162,7 @@ TEST(RuleSetTest, findBestRuleSetAndAdd_HostContext)
helper.addCSSRules(":host-context(*) { }");
RuleSet& ruleSet = helper.ruleSet();
- const Vector<RuleData>* rules = ruleSet.shadowHostRules();
+ const WillBeHeapVector<RuleData>* rules = ruleSet.shadowHostRules();
ASSERT_EQ(1u, rules->size());
}
@@ -172,7 +172,7 @@ TEST(RuleSetTest, findBestRuleSetAndAdd_HostContextWithId)
helper.addCSSRules(":host-context(#x) { }");
RuleSet& ruleSet = helper.ruleSet();
- const Vector<RuleData>* rules = ruleSet.shadowHostRules();
+ const WillBeHeapVector<RuleData>* rules = ruleSet.shadowHostRules();
ASSERT_EQ(1u, rules->size());
}
@@ -182,7 +182,7 @@ TEST(RuleSetTest, findBestRuleSetAndAdd_HostAndHostContextNotInRightmost)
helper.addCSSRules(":host-context(#x) .y, :host(.a) > #b { }");
RuleSet& ruleSet = helper.ruleSet();
- const Vector<RuleData>* shadowRules = ruleSet.shadowHostRules();
+ const WillBeHeapVector<RuleData>* shadowRules = ruleSet.shadowHostRules();
const TerminatedArray<RuleData>* idRules = ruleSet.idRules("b");
const TerminatedArray<RuleData>* classRules = ruleSet.classRules("y");
ASSERT_EQ(0u, shadowRules->size());
@@ -196,7 +196,7 @@ TEST(RuleSetTest, findBestRuleSetAndAdd_HostAndClass)
helper.addCSSRules(".foo:host { }");
RuleSet& ruleSet = helper.ruleSet();
- const Vector<RuleData>* rules = ruleSet.shadowHostRules();
+ const WillBeHeapVector<RuleData>* rules = ruleSet.shadowHostRules();
ASSERT_EQ(0u, rules->size());
}
@@ -206,7 +206,7 @@ TEST(RuleSetTest, findBestRuleSetAndAdd_HostContextAndClass)
helper.addCSSRules(".foo:host-context(*) { }");
RuleSet& ruleSet = helper.ruleSet();
- const Vector<RuleData>* rules = ruleSet.shadowHostRules();
+ const WillBeHeapVector<RuleData>* rules = ruleSet.shadowHostRules();
ASSERT_EQ(0u, rules->size());
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698