Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4073)

Unified Diff: chrome/browser/ui/pdf/pdf_browsertest.cc

Issue 67513007: Fix PDF browser tests on official waterfalls. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/pdf/pdf_browsertest.cc
diff --git a/chrome/browser/ui/pdf/pdf_browsertest.cc b/chrome/browser/ui/pdf/pdf_browsertest.cc
index cf575c346ed19bbc344bf9b8ed6813bf92c9d1a2..6fe71c8d73d99d9280dd94924e94faed0c3f28cb 100644
--- a/chrome/browser/ui/pdf/pdf_browsertest.cc
+++ b/chrome/browser/ui/pdf/pdf_browsertest.cc
@@ -45,8 +45,9 @@ class PDFBrowserTest : public InProcessBrowserTest,
: snapshot_different_(true),
next_dummy_search_value_(0),
load_stop_notification_count_(0) {
- pdf_test_server_.ServeFilesFromDirectory(
- base::FilePath(FILE_PATH_LITERAL("pdf/test")));
+ base::FilePath src_dir;
+ EXPECT_TRUE(PathService::Get(base::DIR_SOURCE_ROOT, &src_dir));
+ pdf_test_server_.ServeFilesFromDirectory(src_dir.AppendASCII("pdf/test"));
}
protected:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698