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

Unified Diff: chrome/browser/printing/print_preview_pdf_generated_browsertest.cc

Issue 2317123002: c/browser, c/common, components O-P: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Just rebased Created 4 years, 3 months 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 | « chrome/browser/printing/pdf_to_emf_converter.cc ('k') | chrome/browser/printing/pwg_raster_converter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/print_preview_pdf_generated_browsertest.cc
diff --git a/chrome/browser/printing/print_preview_pdf_generated_browsertest.cc b/chrome/browser/printing/print_preview_pdf_generated_browsertest.cc
index efbcbc32c99fa0c42c028458e697004a7033ac9a..d7e9562d48bf460d1983ff7c139a99bfef40b7f2 100644
--- a/chrome/browser/printing/print_preview_pdf_generated_browsertest.cc
+++ b/chrome/browser/printing/print_preview_pdf_generated_browsertest.cc
@@ -505,7 +505,8 @@ class PrintPreviewPdfGeneratedBrowserTest : public InProcessBrowserTest {
std::cout.flush();
ASSERT_TRUE(tmp_dir_.CreateUniqueTempDir());
- ASSERT_TRUE(base::CreateTemporaryFileInDir(tmp_dir_.path(), &stdin_path));
+ ASSERT_TRUE(
+ base::CreateTemporaryFileInDir(tmp_dir_.GetPath(), &stdin_path));
// Redirects |std::cin| to the file |stdin_path|. |in| is not freed because
// if it goes out of scope, |std::cin.rdbuf| will be freed, causing an
@@ -515,7 +516,7 @@ class PrintPreviewPdfGeneratedBrowserTest : public InProcessBrowserTest {
std::cin.rdbuf(in->rdbuf());
pdf_file_save_path_ =
- tmp_dir_.path().Append(FILE_PATH_LITERAL("dummy.pdf"));
+ tmp_dir_.GetPath().Append(FILE_PATH_LITERAL("dummy.pdf"));
// Send the file path to the layout test framework so that it can
// communicate with this browser test.
« no previous file with comments | « chrome/browser/printing/pdf_to_emf_converter.cc ('k') | chrome/browser/printing/pwg_raster_converter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698