Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Unified Diff: LayoutTests/inspector/elements/set-outer-html-test.js

Issue 881263002: DevTools: use target-based model accessors only. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/elements/set-outer-html-test.js
diff --git a/LayoutTests/inspector/elements/set-outer-html-test.js b/LayoutTests/inspector/elements/set-outer-html-test.js
index f588d7d565b12bcef154c62d941bb1b9fc708038..7020c6f30fbdf1d31618a2258ef1737a0bbac6ed 100644
--- a/LayoutTests/inspector/elements/set-outer-html-test.js
+++ b/LayoutTests/inspector/elements/set-outer-html-test.js
@@ -24,7 +24,7 @@ InspectorTest.setUpTestSuite = function(next)
for (var key in WebInspector.DOMModel.Events) {
var eventName = WebInspector.DOMModel.Events[key];
- WebInspector.domModel.addEventListener(eventName, InspectorTest.recordEvent.bind(InspectorTest, eventName));
+ InspectorTest.domModel.addEventListener(eventName, InspectorTest.recordEvent.bind(InspectorTest, eventName));
}
next();
@@ -74,7 +74,7 @@ InspectorTest.setOuterHTMLUseUndo = function(newText, next)
function bringBack()
{
InspectorTest.addResult("\nBringing things back\n");
- WebInspector.domModel.undo(InspectorTest._dumpOuterHTML.bind(InspectorTest, true, next));
+ InspectorTest.domModel.undo(InspectorTest._dumpOuterHTML.bind(InspectorTest, true, next));
}
}

Powered by Google App Engine
This is Rietveld 408576698