Index: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-frame.html |
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-frame.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-frame.html |
index 7e1171feef6647124057ec8741d32942ff362353..dbc7a08be133adce5617715b8532bbd2a3ed10e5 100644 |
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-frame.html |
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/source-frame.html |
@@ -48,8 +48,8 @@ function test() |
{ |
InspectorTest.addResult("Script source was shown."); |
shownSourceFrame = sourceFrame; |
- InspectorTest.addSniffer(WebInspector.SourceFrame.prototype, "addMessageToSource", didAddMessage); |
- InspectorTest.addSniffer(WebInspector.SourceFrame.prototype, "clearMessages", clearMessages); |
+ InspectorTest.addSniffer(WebInspector.UISourceCodeFrame.prototype, "addMessageToSource", didAddMessage); |
+ InspectorTest.addSniffer(WebInspector.UISourceCodeFrame.prototype, "clearMessages", clearMessages); |
InspectorTest.evaluateInPage("addErrorToConsole()"); |
} |
@@ -57,7 +57,7 @@ function test() |
{ |
if (this !== shownSourceFrame) |
return; |
- InspectorTest.addResult("Message added to source frame: " + message.messageText()); |
+ InspectorTest.addResult("Message added to source frame: " + message.text()); |
InspectorTest.consoleModel.requestClearMessages(); |
} |