| Index: third_party/WebKit/Source/core/css/StyleSheetContents.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/StyleSheetContents.cpp b/third_party/WebKit/Source/core/css/StyleSheetContents.cpp
|
| index 7dc7792ec83c2499842949c2d322ef499777b200..42715a55af0743e6e8f6281a3e60a9a2145be282 100644
|
| --- a/third_party/WebKit/Source/core/css/StyleSheetContents.cpp
|
| +++ b/third_party/WebKit/Source/core/css/StyleSheetContents.cpp
|
| @@ -162,7 +162,7 @@ void StyleSheetContents::parserAppendRule(StyleRuleBase* rule) {
|
| StyleRuleImport* importRule = toStyleRuleImport(rule);
|
| if (importRule->mediaQueries())
|
| setHasMediaQueries();
|
| - m_importRules.append(importRule);
|
| + m_importRules.push_back(importRule);
|
| m_importRules.back()->setParentStyleSheet(this);
|
| m_importRules.back()->requestStyleSheet();
|
| return;
|
| @@ -174,11 +174,11 @@ void StyleSheetContents::parserAppendRule(StyleRuleBase* rule) {
|
| ASSERT(m_childRules.isEmpty());
|
| StyleRuleNamespace& namespaceRule = toStyleRuleNamespace(*rule);
|
| parserAddNamespace(namespaceRule.prefix(), namespaceRule.uri());
|
| - m_namespaceRules.append(&namespaceRule);
|
| + m_namespaceRules.push_back(&namespaceRule);
|
| return;
|
| }
|
|
|
| - m_childRules.append(rule);
|
| + m_childRules.push_back(rule);
|
| }
|
|
|
| void StyleSheetContents::setHasMediaQueries() {
|
| @@ -663,7 +663,7 @@ static void findFontFaceRulesFromRules(
|
| StyleRuleBase* rule = rules[i].get();
|
|
|
| if (rule->isFontFaceRule()) {
|
| - fontFaceRules.append(toStyleRuleFontFace(rule));
|
| + fontFaceRules.push_back(toStyleRuleFontFace(rule));
|
| } else if (rule->isMediaRule()) {
|
| StyleRuleMedia* mediaRule = toStyleRuleMedia(rule);
|
| // We cannot know whether the media rule matches or not, but
|
|
|