| Index: content/shell/shell_browser_main.cc
|
| diff --git a/content/shell/shell_browser_main.cc b/content/shell/shell_browser_main.cc
|
| index eef7836a808958afbe5e598c495925c905927bb2..a19005de04cdb804dfc41751770b619309399b76 100644
|
| --- a/content/shell/shell_browser_main.cc
|
| +++ b/content/shell/shell_browser_main.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "content/shell/shell_browser_main.h"
|
|
|
| +#include <iostream>
|
| +
|
| #include "base/command_line.h"
|
| #include "base/logging.h"
|
| #include "base/memory/scoped_ptr.h"
|
| @@ -72,8 +74,8 @@ int ShellBrowserMain(const content::MainFunctionParams& parameters) {
|
|
|
| char test_string[2048];
|
| #if defined(OS_ANDROID)
|
| - puts("#READY");
|
| - fflush(stdout);
|
| + std::cout << "#READY\n";
|
| + std::cout.flush();
|
| #endif
|
|
|
| while (fgets(test_string, sizeof(test_string), stdin)) {
|
| @@ -96,9 +98,6 @@ int ShellBrowserMain(const content::MainFunctionParams& parameters) {
|
|
|
| main_runner_->Run();
|
|
|
| - fflush(stdout);
|
| - fflush(stderr);
|
| -
|
| if (!content::WebKitTestController::Get()->ResetAfterLayoutTest())
|
| break;
|
| }
|
|
|