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 64f668e11abda13260eb0855eba44a489a5e1a28..7397630d721247c39a2e6b45fe90dfaaee8b22f9 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sources/TabbedEditorContainer.js |
@@ -215,7 +215,6 @@ WebInspector.TabbedEditorContainer.prototype = { |
var previousView = this._currentView; |
this._currentView = this.visibleView; |
- WebInspector.context.setFlavor(WebInspector.UISourceCodeFrame, this._currentView instanceof WebInspector.UISourceCodeFrame ? this._currentView : null); |
this._addViewListeners(); |
var eventData = { |
@@ -255,8 +254,6 @@ WebInspector.TabbedEditorContainer.prototype = { |
if (nextTabId) |
this._tabbedPane.selectTab(nextTabId, true); |
this._tabbedPane.closeTab(id, true); |
- if (WebInspector.context.flavor(WebInspector.UISourceCodeFrame) === previousView) |
- WebInspector.context.setFlavor(WebInspector.UISourceCodeFrame, null); |
return true; |
} |
return false; |