| Index: third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js b/third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js
|
| index 7bc71e08772dbd2f1b2b25bfe48308d501e3db9b..291f1ef7a657fecffc3b16d0117430751b23a9bb 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js
|
| @@ -307,9 +307,10 @@ WebInspector.TabbedEditorContainer.prototype = {
|
| */
|
| _titleForFile: function(uiSourceCode)
|
| {
|
| - uiSourceCode = WebInspector.persistence.fileSystem(uiSourceCode) || uiSourceCode;
|
| + var binding = WebInspector.persistence.binding(uiSourceCode);
|
| + var titleUISourceCode = binding ? binding.fileSystem : uiSourceCode;
|
| var maxDisplayNameLength = 30;
|
| - var title = uiSourceCode.displayName(true).trimMiddle(maxDisplayNameLength);
|
| + var title = titleUISourceCode.displayName(true).trimMiddle(maxDisplayNameLength);
|
| if (uiSourceCode.isDirty() || WebInspector.persistence.hasUnsavedCommittedChanges(uiSourceCode))
|
| title += "*";
|
| return title;
|
|
|