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); |
} |
-}; |
+}; |