| Index: third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js b/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
|
| index c62a28abca91cf8c54a59e39cc91d7ca657b92eb..5f840dc3107aee71b532bd360450c20dbe61a3ce 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/workspace/UISourceCode.js
|
| @@ -37,16 +37,14 @@
|
| * @param {string} parentPath
|
| * @param {string} name
|
| * @param {string} originURL
|
| - * @param {string} url
|
| * @param {!WebInspector.ResourceType} contentType
|
| */
|
| -WebInspector.UISourceCode = function(project, parentPath, name, originURL, url, contentType)
|
| +WebInspector.UISourceCode = function(project, parentPath, name, originURL, contentType)
|
| {
|
| this._project = project;
|
| this._parentPath = parentPath;
|
| this._name = name;
|
| this._originURL = originURL;
|
| - this._url = url;
|
| this._contentType = contentType;
|
| /** @type {!Array.<function(?string)>} */
|
| this._requestContentCallbacks = [];
|
| @@ -70,14 +68,6 @@ WebInspector.UISourceCode.prototype = {
|
| /**
|
| * @return {string}
|
| */
|
| - networkURL: function()
|
| - {
|
| - return this._url;
|
| - },
|
| -
|
| - /**
|
| - * @return {string}
|
| - */
|
| name: function()
|
| {
|
| return this._name;
|
| @@ -157,15 +147,14 @@ WebInspector.UISourceCode.prototype = {
|
| /**
|
| * @param {boolean} success
|
| * @param {string=} newName
|
| - * @param {string=} newURL
|
| * @param {string=} newOriginURL
|
| * @param {!WebInspector.ResourceType=} newContentType
|
| * @this {WebInspector.UISourceCode}
|
| */
|
| - function innerCallback(success, newName, newURL, newOriginURL, newContentType)
|
| + function innerCallback(success, newName, newOriginURL, newContentType)
|
| {
|
| if (success)
|
| - this._updateName(/** @type {string} */ (newName), /** @type {string} */ (newURL), /** @type {string} */ (newOriginURL), /** @type {!WebInspector.ResourceType} */ (newContentType));
|
| + this._updateName(/** @type {string} */ (newName), /** @type {string} */ (newOriginURL), /** @type {!WebInspector.ResourceType} */ (newContentType));
|
| callback(success);
|
| }
|
| },
|
| @@ -177,16 +166,13 @@ WebInspector.UISourceCode.prototype = {
|
|
|
| /**
|
| * @param {string} name
|
| - * @param {string} url
|
| * @param {string} originURL
|
| * @param {!WebInspector.ResourceType=} contentType
|
| */
|
| - _updateName: function(name, url, originURL, contentType)
|
| + _updateName: function(name, originURL, contentType)
|
| {
|
| var oldURI = this.uri();
|
| this._name = name;
|
| - if (url)
|
| - this._url = url;
|
| if (originURL)
|
| this._originURL = originURL;
|
| if (contentType)
|
|
|