Index: content/shell/renderer/test_runner/WebTestProxy.cpp |
diff --git a/content/shell/renderer/test_runner/WebTestProxy.cpp b/content/shell/renderer/test_runner/WebTestProxy.cpp |
index 99069bab7575b3ff7fe656abf8ca50b5b68ca530..7a82cfd2c3a920d831219e05c961816aa20a956c 100644 |
--- a/content/shell/renderer/test_runner/WebTestProxy.cpp |
+++ b/content/shell/renderer/test_runner/WebTestProxy.cpp |
@@ -40,7 +40,6 @@ |
#include "third_party/WebKit/public/web/WebPluginParams.h" |
#include "third_party/WebKit/public/web/WebPrintParams.h" |
#include "third_party/WebKit/public/web/WebRange.h" |
-#include "third_party/WebKit/public/web/WebScriptController.h" |
#include "third_party/WebKit/public/web/WebUserGestureIndicator.h" |
#include "third_party/WebKit/public/web/WebView.h" |
@@ -472,8 +471,6 @@ void WebTestProxyBase::moveValidationMessage(const WebRect&) |
string WebTestProxyBase::captureTree(bool debugRenderTree) |
{ |
- WebScriptController::flushConsoleMessages(); |
- |
bool shouldDumpAsText = m_testInterfaces->testRunner()->shouldDumpAsText(); |
bool shouldDumpAsMarkup = m_testInterfaces->testRunner()->shouldDumpAsMarkup(); |
bool shouldDumpAsPrinted = m_testInterfaces->testRunner()->isPrinting(); |