| Index: third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| index a262a5edc86865d9159e1f3778b73e098a6e5a37..6b7bbc7b4f277e446097753857aaaea1d56499ee 100644
|
| --- a/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/csp/CSPDirectiveList.cpp
|
| @@ -999,7 +999,7 @@ void CSPDirectiveList::parseReportURI(const String& name, const String& value) {
|
|
|
| if (urlBegin < position) {
|
| String url = String(urlBegin, position - urlBegin);
|
| - m_reportEndpoints.append(url);
|
| + m_reportEndpoints.push_back(url);
|
| }
|
| }
|
| }
|
| @@ -1219,7 +1219,7 @@ SourceListDirectiveVector CSPDirectiveList::getSourceVector(
|
| if (SourceListDirective* directive = policy->operativeDirective(type)) {
|
| if (directive->isNone())
|
| return SourceListDirectiveVector(1, directive);
|
| - sourceListDirectives.append(directive);
|
| + sourceListDirectives.push_back(directive);
|
| }
|
| }
|
|
|
| @@ -1270,7 +1270,7 @@ bool CSPDirectiveList::subsumes(const CSPDirectiveListVector& other) {
|
| HeapVector<Member<MediaListDirective>> pluginTypesOther;
|
| for (const auto& policy : other) {
|
| if (policy->hasPluginTypes())
|
| - pluginTypesOther.append(policy->m_pluginTypes);
|
| + pluginTypesOther.push_back(policy->m_pluginTypes);
|
| }
|
|
|
| return m_pluginTypes->subsumes(pluginTypesOther);
|
|
|