Index: third_party/WebKit/LayoutTests/http/tests/inspector/console/console-links-on-messages-before-inspection.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/console/console-links-on-messages-before-inspection.html b/third_party/WebKit/LayoutTests/http/tests/inspector/console/console-links-on-messages-before-inspection.html |
index 336c5fc114a6d26d4dea974aafb0fde533b5be9a..c118545de118a6994d69d935ee5c389f9e1df3f0 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/console/console-links-on-messages-before-inspection.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/console/console-links-on-messages-before-inspection.html |
@@ -14,7 +14,7 @@ function loadScript() |
function test() |
{ |
var mainTarget = SDK.targetManager.mainTarget(); |
- var debuggerModel = SDK.DebuggerModel.fromTarget(mainTarget); |
+ var debuggerModel = InspectorTest.debuggerModel; |
var message = new ConsoleModel.ConsoleMessage(mainTarget, ConsoleModel.ConsoleMessage.MessageSource.JS, ConsoleModel.ConsoleMessage.MessageLevel.Info, "hello?", null, "http://127.0.0.1:8000/inspector/resources/source2.js"); |
ConsoleModel.consoleModel.addMessage(message); |
debuggerModel.addEventListener(SDK.DebuggerModel.Events.ParsedScriptSource, onScriptAdded); |