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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/CSSStyleSheetHeader.js

Issue 2545883005: DevTools: support sourceMappingURL for the inline stylesheets (Closed)
Patch Set: fix sourcemap for inline style Created 4 years 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/sdk/CSSStyleSheetHeader.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/CSSStyleSheetHeader.js b/third_party/WebKit/Source/devtools/front_end/sdk/CSSStyleSheetHeader.js
index 0c4d3588d7c1f0ddf385879dda6eb31976c3374f..ebe6d4e8285c09b404a0018b397bb48fb52e3cb8 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/CSSStyleSheetHeader.js
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/CSSStyleSheetHeader.js
@@ -63,6 +63,13 @@ SDK.CSSStyleSheetHeader = class {
}
/**
+ * @return {?SDK.SourceMap}
+ */
+ sourceMap() {
+ return this._cssModel.sourceMapForHeader(this);
+ }
+
+ /**
* @return {string}
*/
resourceURL() {

Powered by Google App Engine
This is Rietveld 408576698