Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1010)

Unified Diff: third_party/WebKit/Source/devtools/front_end/bindings/StylesSourceMapping.js

Issue 2801943003: [DevTools] Remove SDK.SDKObject (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698