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

Unified Diff: chrome/browser/extensions/platform_app_launcher.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/browser/extensions/platform_app_launcher.cc
diff --git a/chrome/browser/extensions/platform_app_launcher.cc b/chrome/browser/extensions/platform_app_launcher.cc
index 6effb607eab8d21df99b3834670d93a92c0a278a..f0279b8aa216f1dc6d100c19890bfaf18d831087 100644
--- a/chrome/browser/extensions/platform_app_launcher.cc
+++ b/chrome/browser/extensions/platform_app_launcher.cc
@@ -63,7 +63,7 @@ bool MakePathAbsolute(const base::FilePath& current_directory,
return true;
if (current_directory.empty())
- return file_util::AbsolutePath(file_path);
+ *file_path = file_path->AsAbsolute();
brettw 2013/03/30 04:19:38 Fix me.
if (!current_directory.IsAbsolute())
return false;

Powered by Google App Engine
This is Rietveld 408576698