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

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

Issue 2756103002: DevTools: remove SDK.ResourceTreeFrame.fromXXX methods (Closed)
Patch Set: remove unused code Created 3 years, 9 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/SASSSourceMapping.js
diff --git a/third_party/WebKit/Source/devtools/front_end/bindings/SASSSourceMapping.js b/third_party/WebKit/Source/devtools/front_end/bindings/SASSSourceMapping.js
index 222e97ae5e330859882011ec519add7a7f741d3b..a6912b093ba2e49e21f67b9d9febbd985323aa74 100644
--- a/third_party/WebKit/Source/devtools/front_end/bindings/SASSSourceMapping.js
+++ b/third_party/WebKit/Source/devtools/front_end/bindings/SASSSourceMapping.js
@@ -64,8 +64,7 @@ Bindings.SASSSourceMapping = class {
var contentProvider = sourceMap.sourceContentProvider(sassURL, Common.resourceTypes.SourceMapStyleSheet);
var embeddedContent = sourceMap.embeddedContentByURL(sassURL);
var embeddedContentLength = typeof embeddedContent === 'string' ? embeddedContent.length : null;
- this._networkProject.addSourceMapFile(
- contentProvider, SDK.ResourceTreeFrame.fromStyleSheet(header), false, embeddedContentLength);
+ this._networkProject.addSourceMapFile(contentProvider, header.frameId, false, embeddedContentLength);
}
Bindings.cssWorkspaceBinding.updateLocations(header);
this._sourceMapAttachedForTest(sourceMap);
@@ -127,4 +126,4 @@ Bindings.SASSSourceMapping = class {
dispose() {
Common.EventTarget.removeEventListeners(this._eventListeners);
}
-};
+};

Powered by Google App Engine
This is Rietveld 408576698