| Index: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
|
| index 7f7d6dbd4162c3af1b11ef564389278ce2605eb8..fc91067211f42ca81902fcdc8d6fc7a54f50175d 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp
|
| @@ -816,12 +816,12 @@ void InspectorCSSAgent::setActiveStyleSheets(
|
| }
|
|
|
| for (CSSStyleSheet* cssStyleSheet : addedSheets) {
|
| - InspectorStyleSheet* newStyleSheet = bindStyleSheet(cssStyleSheet);
|
| - documentCSSStyleSheets->insert(cssStyleSheet);
|
| - if (frontend()) {
|
| - frontend()->styleSheetAdded(
|
| - newStyleSheet->buildObjectForStyleSheetInfo());
|
| - }
|
| + InspectorStyleSheet* newStyleSheet = bindStyleSheet(cssStyleSheet);
|
| + documentCSSStyleSheets->insert(cssStyleSheet);
|
| + if (frontend()) {
|
| + frontend()->styleSheetAdded(
|
| + newStyleSheet->buildObjectForStyleSheetInfo());
|
| + }
|
| }
|
|
|
| if (documentCSSStyleSheets->isEmpty())
|
|
|