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

Unified Diff: chrome/test/base/v8_unit_test.cc

Issue 13196006: Move path functions from file_util to FilePath object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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: chrome/test/base/v8_unit_test.cc
diff --git a/chrome/test/base/v8_unit_test.cc b/chrome/test/base/v8_unit_test.cc
index a11f3778b15a1c4cb179a0e1dfb948525d4c18bd..e20fab1f05ad14ff743bdb4f8d72238c73b9e2e6 100644
--- a/chrome/test/base/v8_unit_test.cc
+++ b/chrome/test/base/v8_unit_test.cc
@@ -68,7 +68,7 @@ bool V8UnitTest::ExecuteJavascriptLibraries() {
library_file = file_util::PathExists(gen_file) ? gen_file :
test_data_directory.Append(*user_libraries_iterator);
}
- file_util::AbsolutePath(&library_file);
+ library_file = library_file.AsAbsolute();
if (!file_util::ReadFileToString(library_file, &library_content)) {
ADD_FAILURE() << library_file.value();
return false;

Powered by Google App Engine
This is Rietveld 408576698