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

Unified Diff: webkit/glue/webfileutilities_impl.cc

Issue 13196006: Move path functions from file_util to FilePath object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git try Created 7 years, 8 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: webkit/glue/webfileutilities_impl.cc
diff --git a/webkit/glue/webfileutilities_impl.cc b/webkit/glue/webfileutilities_impl.cc
index b5a5a78385e64fb304f513f2078502bfb0c29460..d1ebf18a8f2520fbf2e43e857f75c268840db271 100644
--- a/webkit/glue/webfileutilities_impl.cc
+++ b/webkit/glue/webfileutilities_impl.cc
@@ -78,8 +78,8 @@ bool WebFileUtilitiesImpl::makeAllDirectories(const WebString& path) {
}
WebString WebFileUtilitiesImpl::getAbsolutePath(const WebString& path) {
- base::FilePath file_path(webkit_base::WebStringToFilePath(path));
- file_util::AbsolutePath(&file_path);
+ base::FilePath file_path(base::MakeAbsoluteFilePath(
+ webkit_base::WebStringToFilePath(path)));
return webkit_base::FilePathStringToWebString(file_path.value());
}

Powered by Google App Engine
This is Rietveld 408576698