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

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

Issue 2545883005: DevTools: support sourceMappingURL for the inline stylesheets (Closed)
Patch Set: address comments 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
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sdk/CSSRule.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..3595ca7edd08439064e08a3d5a8c94df84d4cff1 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 {boolean}
+ */
+ isAnonymousInlineStyleSheet() {
+ return !this.resourceURL() && !this._cssModel.sourceMapForHeader(this);
+ }
+
+ /**
* @return {string}
*/
resourceURL() {
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/sdk/CSSRule.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698