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 85c2deb2872e8a3337326c0b11c19da5c5b5b868..a06be051b01d9871c02756e112457b228e0053e1 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 {!WebInspector.Setting} setting |
+ * @param {string} settingName |
* @param {string} placeholderText |
*/ |
-WebInspector.TabbedEditorContainer = function(delegate, setting, placeholderText) |
+WebInspector.TabbedEditorContainer = function(delegate, settingName, placeholderText) |
{ |
WebInspector.Object.call(this); |
this._delegate = delegate; |
@@ -64,7 +64,7 @@ |
this._tabIds = new Map(); |
this._files = {}; |
- this._previouslyViewedFilesSetting = setting; |
+ this._previouslyViewedFilesSetting = WebInspector.settings.createSetting(settingName, []); |
this._history = WebInspector.TabbedEditorContainer.History.fromObject(this._previouslyViewedFilesSetting.get()); |
} |