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

Unified Diff: components/subresource_filter/core/common/test_ruleset_creator.cc

Issue 2321453002: c/browser, c/common, components S-W: 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
Index: components/subresource_filter/core/common/test_ruleset_creator.cc
diff --git a/components/subresource_filter/core/common/test_ruleset_creator.cc b/components/subresource_filter/core/common/test_ruleset_creator.cc
index f3bddad382392a21690a16b9c540cfe70c9fd5d2..81dd7b3d21119ba77bb5fc907c02713f83a3b88b 100644
--- a/components/subresource_filter/core/common/test_ruleset_creator.cc
+++ b/components/subresource_filter/core/common/test_ruleset_creator.cc
@@ -106,7 +106,7 @@ void TestRulesetCreator::GetUniqueTemporaryPath(base::FilePath* path) {
DCHECK(path);
ASSERT_TRUE(scoped_temp_dir_.IsValid() ||
scoped_temp_dir_.CreateUniqueTempDir());
- *path = scoped_temp_dir_.path().AppendASCII(
+ *path = scoped_temp_dir_.GetPath().AppendASCII(
base::IntToString(next_unique_file_suffix++));
}

Powered by Google App Engine
This is Rietveld 408576698