Index: content/shell/shell_browser_main.cc |
diff --git a/content/shell/shell_browser_main.cc b/content/shell/shell_browser_main.cc |
index f1343d9688711592a1db23d180b7ba1b6751dc6f..8143b591935244428653a1c0c57f012e8d5272d6 100644 |
--- a/content/shell/shell_browser_main.cc |
+++ b/content/shell/shell_browser_main.cc |
@@ -5,6 +5,7 @@ |
#include "content/shell/shell_browser_main.h" |
#include "base/command_line.h" |
+#include "base/logging.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/threading/thread_restrictions.h" |
#include "content/public/browser/browser_main_runner.h" |
@@ -17,6 +18,12 @@ |
namespace { |
GURL GetURLForLayoutTest(const char* test_name) { |
+#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 timeout; |
@@ -38,6 +45,7 @@ GURL GetURLForLayoutTest(const char* test_name) { |
webkit_support::SetCurrentDirectoryForFileURL(test_url); |
} |
return test_url; |
+#endif |
} |
} // namespace |