Index: third_party/WebKit/Source/devtools/front_end/bindings/StylesSourceMapping.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/StylesSourceMapping.js b/third_party/WebKit/Source/devtools/front_end/bindings/StylesSourceMapping.js |
index 0fd18fc4e39d73f71541807d46f9da690a2e8ae6..e3c34c6987b574e897932ce3b7316bad21540e07 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/bindings/StylesSourceMapping.js |
+++ b/third_party/WebKit/Source/devtools/front_end/bindings/StylesSourceMapping.js |
@@ -145,8 +145,6 @@ Bindings.StylesSourceMapping = class { |
* @param {!Common.Event} event |
*/ |
_unbindAllUISourceCodes(event) { |
- if (event.data.target() !== this._cssModel.target()) |
- return; |
for (var styleFile of this._styleFiles.values()) |
styleFile.dispose(); |
this._styleFiles.clear(); |