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

Unified Diff: third_party/WebKit/Source/core/css/RuleSet.h

Issue 2709033003: Migrate WTF::HashMap::get() to ::at() (Closed)
Patch Set: rebase Created 3 years, 10 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/RuleSet.h
diff --git a/third_party/WebKit/Source/core/css/RuleSet.h b/third_party/WebKit/Source/core/css/RuleSet.h
index 64274306cf0017fc23ac5ab2eff46d5edbec20fc..51968fcef2c6ad4816847e85d8c2a1ee41402638 100644
--- a/third_party/WebKit/Source/core/css/RuleSet.h
+++ b/third_party/WebKit/Source/core/css/RuleSet.h
@@ -160,21 +160,21 @@ class CORE_EXPORT RuleSet : public GarbageCollectedFinalized<RuleSet> {
const HeapTerminatedArray<RuleData>* idRules(const AtomicString& key) const {
ASSERT(!m_pendingRules);
- return m_idRules.get(key);
+ return m_idRules.at(key);
}
const HeapTerminatedArray<RuleData>* classRules(
const AtomicString& key) const {
ASSERT(!m_pendingRules);
- return m_classRules.get(key);
+ return m_classRules.at(key);
}
const HeapTerminatedArray<RuleData>* tagRules(const AtomicString& key) const {
ASSERT(!m_pendingRules);
- return m_tagRules.get(key);
+ return m_tagRules.at(key);
}
const HeapTerminatedArray<RuleData>* shadowPseudoElementRules(
const AtomicString& key) const {
ASSERT(!m_pendingRules);
- return m_shadowPseudoElementRules.get(key);
+ return m_shadowPseudoElementRules.at(key);
}
const HeapVector<RuleData>* linkPseudoClassRules() const {
ASSERT(!m_pendingRules);
« no previous file with comments | « third_party/WebKit/Source/core/css/PropertyRegistry.cpp ('k') | third_party/WebKit/Source/core/css/StyleSheetContents.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698