| Index: Source/devtools/front_end/sources/TabbedEditorContainer.js
|
| diff --git a/Source/devtools/front_end/sources/TabbedEditorContainer.js b/Source/devtools/front_end/sources/TabbedEditorContainer.js
|
| index a06be051b01d9871c02756e112457b228e0053e1..85c2deb2872e8a3337326c0b11c19da5c5b5b868 100644
|
| --- a/Source/devtools/front_end/sources/TabbedEditorContainer.js
|
| +++ b/Source/devtools/front_end/sources/TabbedEditorContainer.js
|
| @@ -43,10 +43,10 @@
|
| * @constructor
|
| * @extends {WebInspector.Object}
|
| * @param {!WebInspector.TabbedEditorContainerDelegate} delegate
|
| - * @param {string} settingName
|
| + * @param {!WebInspector.Setting} setting
|
| * @param {string} placeholderText
|
| */
|
| -WebInspector.TabbedEditorContainer = function(delegate, settingName, placeholderText)
|
| +WebInspector.TabbedEditorContainer = function(delegate, setting, placeholderText)
|
| {
|
| WebInspector.Object.call(this);
|
| this._delegate = delegate;
|
| @@ -64,7 +64,7 @@
|
| this._tabIds = new Map();
|
| this._files = {};
|
|
|
| - this._previouslyViewedFilesSetting = WebInspector.settings.createSetting(settingName, []);
|
| + this._previouslyViewedFilesSetting = setting;
|
| this._history = WebInspector.TabbedEditorContainer.History.fromObject(this._previouslyViewedFilesSetting.get());
|
| }
|
|
|
|
|