summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/test/plugin/pdf_browsertest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/test/plugin/pdf_browsertest.cc b/chrome/test/plugin/pdf_browsertest.cc
index 1feb500e..424fa49 100644
--- a/chrome/test/plugin/pdf_browsertest.cc
+++ b/chrome/test/plugin/pdf_browsertest.cc
@@ -42,7 +42,10 @@ class PDFBrowserTest : public InProcessBrowserTest,
virtual void SetUp() {
FilePath pdf_path;
PathService::Get(chrome::FILE_PDF_PLUGIN, &pdf_path);
+#if !defined(OS_MACOSX)
+ // http://crbug.com/61258: renderer always crashes on Mac.
have_plugin_ = file_util::PathExists(pdf_path);
+#endif
InProcessBrowserTest::SetUp();
}