| Index: Source/core/inspector/InspectorCSSAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorCSSAgent.cpp b/Source/core/inspector/InspectorCSSAgent.cpp
|
| index 79dfb2bbd64157ebe6d8f340a0f77bdd27a98186..ae6ebd82298d9e159a55f95a230fbda1bdebd1cb 100644
|
| --- a/Source/core/inspector/InspectorCSSAgent.cpp
|
| +++ b/Source/core/inspector/InspectorCSSAgent.cpp
|
| @@ -517,16 +517,15 @@ void InspectorCSSAgent::setActiveStyleSheets(Document* document, const Vector<CS
|
| }
|
|
|
| HashSet<CSSStyleSheet*> removedSheets(*documentCSSStyleSheets);
|
| -
|
| - HashSet<CSSStyleSheet*> addedSheets;
|
| + Vector<CSSStyleSheet*> addedSheets;
|
| for (Vector<CSSStyleSheet*>::const_iterator it = allSheetsVector.begin(); it != allSheetsVector.end(); ++it) {
|
| CSSStyleSheet* cssStyleSheet = *it;
|
| if (removedSheets.contains(cssStyleSheet)) {
|
| removedSheets.remove(cssStyleSheet);
|
| if (isInitialFrontendLoad)
|
| - addedSheets.add(cssStyleSheet);
|
| + addedSheets.append(cssStyleSheet);
|
| } else {
|
| - addedSheets.add(cssStyleSheet);
|
| + addedSheets.append(cssStyleSheet);
|
| }
|
| }
|
|
|
| @@ -543,7 +542,7 @@ void InspectorCSSAgent::setActiveStyleSheets(Document* document, const Vector<CS
|
| }
|
| }
|
|
|
| - for (HashSet<CSSStyleSheet*>::iterator it = addedSheets.begin(); it != addedSheets.end(); ++it) {
|
| + for (Vector<CSSStyleSheet*>::iterator it = addedSheets.begin(); it != addedSheets.end(); ++it) {
|
| CSSStyleSheet* cssStyleSheet = *it;
|
| bool isNew = isInitialFrontendLoad || !m_cssStyleSheetToInspectorStyleSheet.contains(cssStyleSheet);
|
| if (isNew) {
|
|
|