Index: webkit/tools/test_shell/layout_test_controller.cc |
=================================================================== |
--- webkit/tools/test_shell/layout_test_controller.cc (revision 26368) |
+++ webkit/tools/test_shell/layout_test_controller.cc (working copy) |
@@ -963,7 +963,8 @@ |
} |
void LayoutTestController::LogErrorToConsole(const std::string& text) { |
- shell_->webView()->GetMainFrame()->addMessageToConsole( |
+ shell_->delegate()->didAddMessageToConsole( |
WebConsoleMessage(WebConsoleMessage::LevelError, |
- WebString::fromUTF8(text))); |
+ WebString::fromUTF8(text)), |
+ WebString(), 0); |
} |