Index: LayoutTests/inspector/jump-to-previous-editing-location.html |
diff --git a/LayoutTests/inspector/jump-to-previous-editing-location.html b/LayoutTests/inspector/jump-to-previous-editing-location.html |
index d11a6fa03c17c811bc8789cbf1d905dba7b37bcc..983dca0ed1748ce3f79ce2cd6531e6909c3970e0 100644 |
--- a/LayoutTests/inspector/jump-to-previous-editing-location.html |
+++ b/LayoutTests/inspector/jump-to-previous-editing-location.html |
@@ -10,15 +10,18 @@ function test() |
{ |
WebInspector.inspectorView.showPanel("sources"); |
var panel = WebInspector.panels.sources; |
+ var sourcesEditor = panel._sourcesEditor; |
+ var historyManager = sourcesEditor._historyManager; |
+ var editorContainer = sourcesEditor._editorContainer; |
function rollback() |
{ |
- panel._historyManager.rollback(); |
+ historyManager.rollback(); |
} |
function rollover() |
{ |
- panel._historyManager.rollover(); |
+ historyManager.rollover(); |
} |
function dumpSelection(editor, label) |
@@ -158,8 +161,8 @@ function test() |
function testCloseCrossFile(next) |
{ |
- var selectedTab = panel._editorContainer._tabbedPane.selectedTabId; |
- panel._editorContainer._tabbedPane.closeTab(selectedTab); |
+ var selectedTab = editorContainer._tabbedPane.selectedTabId; |
+ editorContainer._tabbedPane.closeTab(selectedTab); |
dumpSelection(panel.visibleView.textEditor, "Close active tab"); |
for (var i = 0; i < 1; ++i) { |
rollback(); |