summaryrefslogtreecommitdiffstats
path: root/ui/gl/gl_implementation_mac.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-10 05:15:45 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-10 05:15:45 +0000
commit79f6388902881a0aab426e9606c544b68ab3b9bc (patch)
treedf8da7e82fded47bccf4fe32922a8451a475bf97 /ui/gl/gl_implementation_mac.cc
parent6d4b67a4b50d73d5001aec99014ac40bc504871a (diff)
downloadchromium_src-79f6388902881a0aab426e9606c544b68ab3b9bc.zip
chromium_src-79f6388902881a0aab426e9606c544b68ab3b9bc.tar.gz
chromium_src-79f6388902881a0aab426e9606c544b68ab3b9bc.tar.bz2
Replace FilePath with base::FilePath in some more top level directories.
Review URL: https://codereview.chromium.org/12217101 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181640 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gl/gl_implementation_mac.cc')
-rw-r--r--ui/gl/gl_implementation_mac.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/gl/gl_implementation_mac.cc b/ui/gl/gl_implementation_mac.cc
index 0b22e43..590a14b 100644
--- a/ui/gl/gl_implementation_mac.cc
+++ b/ui/gl/gl_implementation_mac.cc
@@ -43,18 +43,18 @@ bool InitializeGLBindings(GLImplementation implementation) {
case kGLImplementationOSMesaGL: {
// osmesa.so is located in the build directory. This code path is only
// valid in a developer build environment.
- FilePath exe_path;
+ base::FilePath exe_path;
if (!PathService::Get(base::FILE_EXE, &exe_path)) {
LOG(ERROR) << "PathService::Get failed.";
return false;
}
- FilePath bundle_path = base::mac::GetAppBundlePath(exe_path);
+ base::FilePath bundle_path = base::mac::GetAppBundlePath(exe_path);
// Some unit test targets depend on osmesa but aren't built as app
// bundles. In that case, the .so is next to the executable.
if (bundle_path.empty())
bundle_path = exe_path;
- FilePath build_dir_path = bundle_path.DirName();
- FilePath osmesa_path = build_dir_path.Append("osmesa.so");
+ base::FilePath build_dir_path = bundle_path.DirName();
+ base::FilePath osmesa_path = build_dir_path.Append("osmesa.so");
// When using OSMesa, just use OSMesaGetProcAddress to find entry points.
base::NativeLibrary library = base::LoadNativeLibrary(osmesa_path, NULL);
@@ -84,7 +84,7 @@ bool InitializeGLBindings(GLImplementation implementation) {
case kGLImplementationDesktopGL:
case kGLImplementationAppleGL: {
base::NativeLibrary library = base::LoadNativeLibrary(
- FilePath(kOpenGLFrameworkPath), NULL);
+ base::FilePath(kOpenGLFrameworkPath), NULL);
if (!library) {
LOG(ERROR) << "OpenGL framework not found";
return false;