Index: webkit/glue/webfileutilities_impl.cc |
diff --git a/webkit/glue/webfileutilities_impl.cc b/webkit/glue/webfileutilities_impl.cc |
index b5a5a78385e64fb304f513f2078502bfb0c29460..9beb7dfa3133094d2270f3e971c856bbbe9d4d17 100644 |
--- a/webkit/glue/webfileutilities_impl.cc |
+++ b/webkit/glue/webfileutilities_impl.cc |
@@ -78,8 +78,7 @@ 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(webkit_base::WebStringToFilePath(path).AsAbsolute()); |
return webkit_base::FilePathStringToWebString(file_path.value()); |
} |