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

Unified Diff: base/test/scoped_path_override.cc

Issue 2275553005: //base: Make ScopedTempDir::path() a GetPath() with a DCHECK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments 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 | « base/test/launcher/unit_test_launcher.cc ('k') | base/win/event_trace_consumer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/scoped_path_override.cc
diff --git a/base/test/scoped_path_override.cc b/base/test/scoped_path_override.cc
index 9a776118d20e699ce8d4ef1cb345867d6ae18014..b8cfd4a22a14543853aa25d85c093ff4024051f3 100644
--- a/base/test/scoped_path_override.cc
+++ b/base/test/scoped_path_override.cc
@@ -12,7 +12,7 @@ namespace base {
ScopedPathOverride::ScopedPathOverride(int key) : key_(key) {
bool result = temp_dir_.CreateUniqueTempDir();
CHECK(result);
- result = PathService::Override(key, temp_dir_.path());
+ result = PathService::Override(key, temp_dir_.GetPath());
CHECK(result);
}
« no previous file with comments | « base/test/launcher/unit_test_launcher.cc ('k') | base/win/event_trace_consumer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698