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

Unified Diff: components/omnibox/browser/history_url_provider_unittest.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
Index: components/omnibox/browser/history_url_provider_unittest.cc
diff --git a/components/omnibox/browser/history_url_provider_unittest.cc b/components/omnibox/browser/history_url_provider_unittest.cc
index 2ba1e96962969d5e452564240326f01cb821395e..55ee94b7aa72ca66560c58d365e764178fa3ea2b 100644
--- a/components/omnibox/browser/history_url_provider_unittest.cc
+++ b/components/omnibox/browser/history_url_provider_unittest.cc
@@ -161,8 +161,8 @@ class FakeAutocompleteProviderClient : public MockAutocompleteProviderClient {
FakeAutocompleteProviderClient(bool create_history_db) {
set_template_url_service(base::MakeUnique<TemplateURLService>(nullptr, 0));
if (history_dir_.CreateUniqueTempDir()) {
- history_service_ = history::CreateHistoryService(
- history_dir_.path(), create_history_db);
+ history_service_ = history::CreateHistoryService(history_dir_.GetPath(),
+ create_history_db);
}
}

Powered by Google App Engine
This is Rietveld 408576698