Index: webkit/tools/test_shell/test_webview_delegate.cc |
diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc |
index f22b6b81787728b9b41320f6b94ec4ce0299bab4..1973acb79ccab4f883ce85d0d5d322729c739da8 100644 |
--- a/webkit/tools/test_shell/test_webview_delegate.cc |
+++ b/webkit/tools/test_shell/test_webview_delegate.cc |
@@ -1175,6 +1175,8 @@ void TestWebViewDelegate::Reset() { |
TestShell* shell = shell_; |
this->~TestWebViewDelegate(); |
new (this) TestWebViewDelegate(shell); |
+ if (shell->speech_input_controller_mock()) |
+ shell->speech_input_controller_mock()->clearResults(); |
} |
void TestWebViewDelegate::SetSmartInsertDeleteEnabled(bool enabled) { |