Changeset 142107 in webkit
- Timestamp:
- Feb 7, 2013 5:56:05 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r142103 r142107 1 2013-02-07 Vsevolod Vlasov <vsevik@chromium.org> 2 3 Web Inspector: Closure compilation fixes 4 https://bugs.webkit.org/show_bug.cgi?id=109131 5 6 Reviewed by Yury Semikhatsky. 7 8 * inspector/front-end/ElementsPanel.js: 9 (WebInspector.ElementsPanel): 10 * inspector/front-end/FileSystemMapping.js: 11 (WebInspector.FileSystemMappingImpl.prototype.uriPrefixForPathPrefix): 12 * inspector/front-end/IsolatedFileSystemModel.js: 13 (WebInspector.IsolatedFileSystemModel.prototype._fileSystemRemoved): 14 * inspector/front-end/SidebarPane.js: 15 1 16 2013-02-07 Kentaro Hara <haraken@chromium.org> 2 17 -
trunk/Source/WebCore/inspector/front-end/ElementsPanel.js
r141777 r142107 87 87 this.sidebarPanes.eventListeners = new WebInspector.EventListenersSidebarPane(); 88 88 89 this.sidebarPanes.styles.setShowCallback(this.updateStyles.bind(this ));89 this.sidebarPanes.styles.setShowCallback(this.updateStyles.bind(this, false)); 90 90 this.sidebarPanes.metrics.setShowCallback(this.updateMetrics.bind(this)); 91 91 this.sidebarPanes.properties.setShowCallback(this.updateProperties.bind(this)); -
trunk/Source/WebCore/inspector/front-end/FileSystemMapping.js
r141888 r142107 50 50 * @param {string} fileSystemPath 51 51 * @param {string} filePath 52 * @return { string}52 * @return {?string} 53 53 */ 54 54 uriForFile: function(fileSystemPath, filePath) { }, … … 121 121 /** 122 122 * @param {string} fileSystemPath 123 * @return { ?string}123 * @return {string} 124 124 */ 125 125 addFileSystemMapping: function(fileSystemPath) … … 199 199 if (this._cachedURIPrefixes.hasOwnProperty(pathPrefix)) 200 200 return this._cachedURIPrefixes[pathPrefix]; 201 var uriPrefix ;201 var uriPrefix = null; 202 202 for (var id in this._fileSystemPaths) { 203 203 var fileSystemPath = this._fileSystemPaths[id]; -
trunk/Source/WebCore/inspector/front-end/IsolatedFileSystemModel.js
r141888 r142107 157 157 { 158 158 var fileSystemId = this._fileSystemMapping.fileSystemId(fileSystemPath); 159 this._workspace.removeProject(fileSystemId); 159 if (fileSystemId) 160 this._workspace.removeProject(fileSystemId); 160 161 this._fileSystemMapping.removeFileSystemMapping(fileSystemPath); 161 162 delete this._fileSystems[fileSystemPath]; -
trunk/Source/WebCore/inspector/front-end/SidebarPane.js
r141777 r142107 52 52 53 53 /** 54 * @param {function } callback54 * @param {function()} callback 55 55 */ 56 56 prepareContent: function(callback) … … 73 73 74 74 /** 75 * @param {function } callback75 * @param {function()} callback 76 76 * @return {boolean} 77 77 */ … … 85 85 86 86 /** 87 * @param {function } callback87 * @param {function()} callback 88 88 */ 89 89 setShowCallback: function(callback)
Note: See TracChangeset
for help on using the changeset viewer.