Index: Source/devtools/front_end/common/StaticContentProvider.js |
diff --git a/Source/devtools/front_end/common/StaticContentProvider.js b/Source/devtools/front_end/common/StaticContentProvider.js |
index 0b8c8bda60ac4395e3c390328e40cd718acfa45c..268092661848791527784dbc309d141725336026 100644 |
--- a/Source/devtools/front_end/common/StaticContentProvider.js |
+++ b/Source/devtools/front_end/common/StaticContentProvider.js |
@@ -7,11 +7,13 @@ |
* @implements {WebInspector.ContentProvider} |
* @param {!WebInspector.ResourceType} contentType |
* @param {string} content |
+ * @param {string=} contentURL |
*/ |
-WebInspector.StaticContentProvider = function(contentType, content) |
+WebInspector.StaticContentProvider = function(contentType, content, contentURL) |
{ |
this._content = content; |
this._contentType = contentType; |
+ this._contentURL = contentURL || ""; |
} |
/** |
@@ -38,7 +40,7 @@ WebInspector.StaticContentProvider.prototype = { |
*/ |
contentURL: function() |
{ |
- return ""; |
+ return this._contentURL; |
}, |
/** |