Index: content/shell/shell_browser_main.cc |
diff --git a/content/shell/shell_browser_main.cc b/content/shell/shell_browser_main.cc |
index 62f1fb17c2103e2dfa706e5fac3b41314f6800b9..8628d955bc5294a4ea54e9beded17a4f02be3919 100644 |
--- a/content/shell/shell_browser_main.cc |
+++ b/content/shell/shell_browser_main.cc |
@@ -20,12 +20,6 @@ namespace { |
GURL GetURLForLayoutTest(const char* test_name, |
std::string* expected_pixel_hash) { |
-#if defined(OS_ANDROID) |
- // DumpRenderTree is not currently supported for Android using the content |
- // shell. |
- NOTIMPLEMENTED(); |
- return GURL::EmptyGURL(); |
-#else |
std::string path_or_url = test_name; |
std::string pixel_hash; |
std::string::size_type separator_position = path_or_url.find('\''); |
@@ -42,7 +36,6 @@ GURL GetURLForLayoutTest(const char* test_name, |
webkit_support::SetCurrentDirectoryForFileURL(test_url); |
} |
return test_url; |
-#endif |
} |
} // namespace |
@@ -71,6 +64,11 @@ int ShellBrowserMain(const content::MainFunctionParams& parameters) { |
static_cast<content::ShellContentBrowserClient*>( |
content::GetContentClient()->browser())->browser_context(); |
+#if defined(OS_ANDROID) |
+ puts("#READY"); |
+ fflush(stdout); |
+#endif |
+ |
while (fgets(test_string, sizeof(test_string), stdin)) { |
char *new_line_position = strchr(test_string, '\n'); |
if (new_line_position) |