| Index: third_party/WebKit/Source/core/html/imports/HTMLImportLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/imports/HTMLImportLoader.cpp b/third_party/WebKit/Source/core/html/imports/HTMLImportLoader.cpp
|
| index 84686bbfb047e60e026a75574676cc533b57195d..ea49c627f2f18f963785c854e8ced7c83178e557 100644
|
| --- a/third_party/WebKit/Source/core/html/imports/HTMLImportLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/html/imports/HTMLImportLoader.cpp
|
| @@ -182,7 +182,7 @@ void HTMLImportLoader::didFinishLoading() {
|
| void HTMLImportLoader::moveToFirst(HTMLImportChild* import) {
|
| size_t position = m_imports.find(import);
|
| DCHECK_NE(kNotFound, position);
|
| - m_imports.remove(position);
|
| + m_imports.erase(position);
|
| m_imports.insert(0, import);
|
| }
|
|
|
| @@ -197,7 +197,7 @@ void HTMLImportLoader::addImport(HTMLImportChild* import) {
|
|
|
| void HTMLImportLoader::removeImport(HTMLImportChild* client) {
|
| DCHECK_NE(kNotFound, m_imports.find(client));
|
| - m_imports.remove(m_imports.find(client));
|
| + m_imports.erase(m_imports.find(client));
|
| }
|
|
|
| bool HTMLImportLoader::shouldBlockScriptExecution() const {
|
|
|